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.

v6.0

Inherits from

  • CSubjectPublicKeyInfo

Constructor & Destructor Documentation

~CSubjectPublicKeyInfo()

IMPORT_C~CSubjectPublicKeyInfo()

Destructor.

Frees all resources owned by the object.

Member Functions Documentation

AlgorithmId()

IMPORT_C TAlgorithmIdAlgorithmId()const

Gets the algorithm ID.

The algorithm ID.

ConstructL(const CSubjectPublicKeyInfo &)

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

Second-phase constructor.

Parameters

const CSubjectPublicKeyInfo & aSubjectPublicKeyInfoThe subject public key object to be copied.

EncodedParams()

IMPORT_C const TPtrC8EncodedParams()const

Gets the encoded parameters required by the algorithm.

A non-modifiable pointer descriptor representing the encoded parameters.

KeyData()

IMPORT_C const TPtrC8KeyData()const

Gets the encoded public key data.

A non-modifiable pointer descriptor representing 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.

A pointer to the new public key object.

Parameters

const CSubjectPublicKeyInfo & aSubjectPublicKeyInfoThe 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.

A pointer to the new public key object.

Parameters

const CSubjectPublicKeyInfo & aSubjectPublicKeyInfoThe 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.