Symbian
 Developer Library

DEVELOPER LIBRARY

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



Location: signed.h
Link against: crypto.lib

Class CCertificate

CCertificate

Support

Supported from 6.0

Description

A data structure that binds a public key to a given individual.

A certificate is a signed object, and adds a serial number, a validity period and a subject public key.

This is a base class for classes that implement certificates of particular types.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CCertificateA data structure that binds a public key to a given individual
CSignedObjectBase class for certificates

Defined in CCertificate:
PublicKey(), SerialNumber(), ValidityPeriod(), ~CCertificate()

Inherited from CBase:
operator new()

Inherited from CSignedObject:
DataElementEncoding(), Encoding(), ExternalizeL(), Fingerprint(), InternalizeL(), SetParametersL(), Signature(), SignedDataL(), SigningAlgorithm(), VerifySignatureL()


Destruction


~CCertificate()

~CCertificate();

Description

Destructor.

Frees all resources owned by the object.

[Top]


Member functions


PublicKey()

const CSubjectPublicKeyInfo& PublicKey() const;

Description

Gets the subject public key.

Return value

CSubjectPublicKeyInfo&

The subject public key.


SerialNumber()

const TPtrC8 SerialNumber() const;

Description

Gets the serial number.

Return value

TPtrC8

A non-modifiable pointer descriptor representing the serial number.


ValidityPeriod()

const CValidityPeriod& ValidityPeriod() const;

Description

Gets the validity period.

Return value

CValidityPeriod&

The validity period.