CRSAParameters Class Reference

class CRSAParameters : public CBase

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

See ANSI X9.31 and RSA PKCS#1

Inherits from

Constructor & Destructor Documentation

CRSAParameters(RInteger &)

IMPORT_C CRSAParameters ( RInteger & aN ) [protected]

Constructor

Parameters

RInteger & aN The RSA parameter, n (the modulus)

CRSAParameters(void)

IMPORT_C CRSAParameters ( void ) [protected]

Default constructor

Parameters

void

CRSAParameters(const CRSAParameters &)

CRSAParameters ( const CRSAParameters & ) [private]

Parameters

const CRSAParameters &

~CRSAParameters(void)

IMPORT_C ~CRSAParameters ( void ) [virtual]

Destructor

Parameters

void

Member Functions Documentation

N(void)

IMPORT_C const TInteger & N ( void ) const

Gets the RSA parameter, n (the modulus)

Parameters

void

operator=(const CRSAParameters &)

CRSAParameters & operator= ( const CRSAParameters & ) [private]

Parameters

const CRSAParameters &

Member Data Documentation

RInteger iN

RInteger iN [protected]

The RSA modulus, n, a positive integer