Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CBase:


Construction and destruction


NewL(const CSubjectPublicKeyInfo &)

IMPORT_C static 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(const CSubjectPublicKeyInfo &)

IMPORT_C static 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(const CSubjectPublicKeyInfo &)

protected: IMPORT_C virtual 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()const

IMPORT_C TAlgorithmId AlgorithmId() const;

Description

Gets the algorithm ID.

Return value

TAlgorithmId

The algorithm ID.


EncodedParams()const

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()const

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.