CRSAPrivateKey Class Reference

class CRSAPrivateKey : public CRSAParameters

Non-exported container class for the various ways of representing an RSA private key.

To instantiate a representation of an RSA private key, find a subclass of this appropriate to your key type.

Inherits from

Constructor & Destructor Documentation

CRSAPrivateKey(const TRSAPrivateKeyType, RInteger &)

CRSAPrivateKey ( const TRSAPrivateKeyType aKeyType,
RInteger & aN
)

Constructor

Parameters

const TRSAPrivateKeyType aKeyType The type of the RSA private key
RInteger & aN The RSA parameter, n (the modulus)

CRSAPrivateKey(const CRSAPrivateKey &)

CRSAPrivateKey ( const CRSAPrivateKey & ) [private]

Parameters

const CRSAPrivateKey &

Member Functions Documentation

PrivateKeyType()

const TRSAPrivateKeyType PrivateKeyType ( ) const [inline]

Gets the type of RSA private key

operator=(const CRSAPrivateKey &)

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

Parameters

const CRSAPrivateKey &

Member Data Documentation

const TRSAPrivateKeyType iKeyType

const TRSAPrivateKeyType iKeyType [protected]

The type of the RSA private key