CPKCS8KeyPairDSA Class Reference

class CPKCS8KeyPairDSA : public CBase

Represents a DSA key pair and provides the means to externalize it to a stream and generate a key identifier

Inherits from

Constructor & Destructor Documentation

CPKCS8KeyPairDSA()

CPKCS8KeyPairDSA()[protected, inline]

~CPKCS8KeyPairDSA()

~CPKCS8KeyPairDSA()[virtual]

Destructor

Member Functions Documentation

ConstructL(const TDesC8 &, const TASN1DecGeneric &)

voidConstructL(const TDesC8 &aParamsData,
const TASN1DecGeneric &aSource
)[protected]

Parameters

const TDesC8 & aParamsData
const TASN1DecGeneric & aSource

GetKeyIdentifierL(TKeyIdentifier &)

voidGetKeyIdentifierL(TKeyIdentifier &aKeyIdentifier)const [virtual]

Gets a key identifier

Parameters

TKeyIdentifier & aKeyIdentifierA descriptor containing a key identifier

KeySize()

TUint KeySize()const [virtual]

NewL(const TDesC8 &, const TASN1DecGeneric &)

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

Contructs the ASN1 PKCS#8 DSA private key

Parameters

const TDesC8 & aParamsDataA block of PKCS#8 parameters data for DER data to decode
const TASN1DecGeneric & aSourceA descriptor containing a key identifier

PrivateKey()

const CDSAPrivateKey &PrivateKey()const [inline]

Contructs a RSA Private Key

PublicKey()

const CDSAPublicKey &PublicKey()const [inline]

Contructs a DSA Public Key

Release()

voidRelease()[virtual]

Member Data Documentation

CDSAPrivateKey * iPrivateKey

CDSAPrivateKey *iPrivateKey[private]

CDSAPublicKey * iPublicKey

CDSAPublicKey *iPublicKey[private]