CSubjectPublicKeyInfo Class Reference

class CSubjectPublicKeyInfo : public CBase

A base class for a container that holds information about a subject public key.

It contains the algorithm ID, the encoded public key and the encoded parameters.

Since
v6.0

Inherits from

Constructor & Destructor Documentation

~CSubjectPublicKeyInfo()

IMPORT_C ~CSubjectPublicKeyInfo ( )

Destructor.

Frees all resources owned by the object.

Member Functions Documentation

AlgorithmId()

IMPORT_C TAlgorithmId AlgorithmId ( ) const

Gets the algorithm ID.

ConstructL(const CSubjectPublicKeyInfo &)

IMPORT_C void ConstructL ( const CSubjectPublicKeyInfo & aSubjectPublicKeyInfo ) [protected, virtual]

Second-phase constructor.

Parameters

const CSubjectPublicKeyInfo & aSubjectPublicKeyInfo The subject public key object to be copied.

EncodedParams()

IMPORT_C const TPtrC8 EncodedParams ( ) const

Gets the encoded parameters required by the algorithm.

KeyData()

IMPORT_C const TPtrC8 KeyData ( ) const

Gets the encoded public key data.

NewL(const CSubjectPublicKeyInfo &)

IMPORT_C CSubjectPublicKeyInfo * NewL ( const CSubjectPublicKeyInfo & aSubjectPublicKeyInfo ) [static]

Creates a new subject public key object copied from an existing object.

Parameters

const CSubjectPublicKeyInfo & aSubjectPublicKeyInfo The subject public key object to be copied.

NewLC(const CSubjectPublicKeyInfo &)

IMPORT_C CSubjectPublicKeyInfo * NewLC ( const CSubjectPublicKeyInfo & aSubjectPublicKeyInfo ) [static]

Creates a new subject public key object copied from an existing object and puts a pointer to the new object onto the cleanup stack.

Parameters

const CSubjectPublicKeyInfo & aSubjectPublicKeyInfo The subject public key object to be copied.

Member Data Documentation

CAlgorithmIdentifier * iAlgId

CAlgorithmIdentifier * iAlgId [protected]

The algorithm ID.

HBufC8 * iEncodedKeyData

HBufC8 * iEncodedKeyData [protected]

A heap descriptor representing the encoded key data.