Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: signed.h
Link against: crypto.lib

Class CSubjectPublicKeyInfo

CSubjectPublicKeyInfo

Support

Supported from 6.0

Description

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

It contains the encoded public key and the algorithm ID.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CSubjectPublicKeyInfoA base class for a container that holds information about a subject public key

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

Inherited from CBase:
operator new()


Construction and destruction


NewL()

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

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

~CSubjectPublicKeyInfo();

Description

Destructor.

Frees all resources owned by the object.

[Top]


Member functions


AlgorithmId()

TAlgorithmId AlgorithmId() const;

Description

Gets the algorithm ID.

Return value

TAlgorithmId

The algorithm ID.


EncodedParams()

const TPtrC8 EncodedParams() const;

Description

Gets the encoded parameters required by the algorithm.

Return value

TPtrC8

A non-modifiable pointer descriptor representing the encoded parameters.


KeyData()

const TPtrC8 KeyData() const;

Description

Gets the encoded public key.

Return value

TPtrC8

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