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 TRSAPrivateKeyTypeaKeyType,
RInteger &aN
)

Constructor

Parameters

const TRSAPrivateKeyType aKeyTypeThe type of the RSA private key
RInteger & aNThe RSA parameter, n (the modulus)

CRSAPrivateKey(const CRSAPrivateKey &)

CRSAPrivateKey(const CRSAPrivateKey &)[private]

Parameters

const CRSAPrivateKey &

Member Functions Documentation

PrivateKeyType()

const TRSAPrivateKeyTypePrivateKeyType()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 TRSAPrivateKeyTypeiKeyType[protected]

The type of the RSA private key