CRSAParameters Class Reference

#include <asymmetrickeys.h>

class CRSAParameters : public CBase

Inherits from

Detailed Description

Concrete class representing the parameters common to both an RSA public and private key.

See ANSI X9.31 and RSA PKCS#1

Member Attribute Documentation

iN

RInteger iN[protected]

The RSA modulus, n, a positive integer

Constructor & Destructor Documentation

CRSAParameters ( RInteger & )

IMPORT_CCRSAParameters(RInteger &aN)[protected]

Constructor

Parameters
aNThe RSA parameter, n (the modulus)

CRSAParameters ( void )

IMPORT_CCRSAParameters(void)[protected]

Default constructor

~CRSAParameters ( void )

IMPORT_C~CRSAParameters(void)[virtual]

Destructor

Member Function Documentation

N ( void )

IMPORT_C const TInteger &N(void)const

Gets the RSA parameter, n (the modulus)

Return Value
The RSA parameter, n