CPKCS8KeyPairRSA Class Reference

class CPKCS8KeyPairRSA : public CBase

Represents an RSA key pair and provides the means to externalize it to a stream and generate a key identifier (SHA1 hash of modulus)

Inherits from

Constructor & Destructor Documentation

CPKCS8KeyPairRSA()

CPKCS8KeyPairRSA ( ) [protected, inline]

~CPKCS8KeyPairRSA()

~CPKCS8KeyPairRSA ( ) [virtual]

Destructor

Member Functions Documentation

ConstructL(const TASN1DecGeneric &)

void ConstructL ( const TASN1DecGeneric & aSource ) [protected]

Parameters

const TASN1DecGeneric & aSource

GetKeyIdentifierL(TKeyIdentifier &)

void GetKeyIdentifierL ( TKeyIdentifier & aKeyIdentifier ) const [virtual]

Gets a key identifier

Parameters

TKeyIdentifier & aKeyIdentifier A descriptor containing a key identifier

KeySize()

TUint KeySize ( ) const [virtual]

NewL(const TASN1DecGeneric &)

MPKCS8DecodedKeyPairData * NewL ( const TASN1DecGeneric & aSource ) [static]

Constructs the ASN1 PKCS#8 RSA private key.

Parameters

const TASN1DecGeneric & aSource A descriptor containing the key identifier

PrivateKey()

const CRSAPrivateKey & PrivateKey ( ) const [inline]

Contructs a RSA Private Key

PublicKey()

const CRSAPublicKey & PublicKey ( ) const [inline]

Contructs a RSA Public Key

Release()

void Release ( ) [virtual]

Member Data Documentation

CRSAPrivateKey * iPrivateKey

CRSAPrivateKey * iPrivateKey [private]

CRSAPublicKey * iPublicKey

CRSAPublicKey * iPublicKey [private]