Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: signed.h
Link against: crypto.lib

Class CSubjectPublicKeyInfo

class CSubjectPublicKeyInfo : public CBase;

Description

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.

Derivation

Members

Defined in CSubjectPublicKeyInfo:
AlgorithmId(), ConstructL(), EncodedParams(), KeyData(), NewL(), NewLC(), iAlgId, iEncodedKeyData, ~CSubjectPublicKeyInfo()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CSubjectPublicKeyInfo *NewL(const CSubjectPublicKeyInfo &aSubjectPublicKeyInfo);

Description

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

Parameters

const CSubjectPublicKeyInfo &aSubjectPublicKeyInfo

The subject public key object to be copied.

Return value

CSubjectPublicKeyInfo *

A pointer to the new public key object.


NewLC()

static IMPORT_C CSubjectPublicKeyInfo *NewLC(const CSubjectPublicKeyInfo &aSubjectPublicKeyInfo);

Description

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.

Return value

CSubjectPublicKeyInfo *

A pointer to the new public key object.


~CSubjectPublicKeyInfo()

IMPORT_C ~CSubjectPublicKeyInfo();

Description

Destructor.

Frees all resources owned by the object.


ConstructL()

protected: virtual IMPORT_C void ConstructL(const CSubjectPublicKeyInfo &aSubjectPublicKeyInfo);

Description

Second-phase constructor.

Parameters

const CSubjectPublicKeyInfo &aSubjectPublicKeyInfo

The subject public key object to be copied.

[Top]


Member functions


AlgorithmId()

IMPORT_C TAlgorithmId AlgorithmId() const;

Description

Gets the algorithm ID.

Return value

TAlgorithmId

The algorithm ID.


EncodedParams()

IMPORT_C const TPtrC8 EncodedParams() const;

Description

Gets the encoded parameters required by the algorithm.

Return value

const TPtrC8

A non-modifiable pointer descriptor representing the encoded parameters.


KeyData()

IMPORT_C const TPtrC8 KeyData() const;

Description

Gets the encoded public key data.

Return value

const TPtrC8

A non-modifiable pointer descriptor representing the encoded public key data.

[Top]


Member data


iAlgId

protected: CAlgorithmIdentifier * iAlgId;

Description

The algorithm ID.


iEncodedKeyData

protected: HBufC8 * iEncodedKeyData;

Description

A heap descriptor representing the encoded key data.