CCertificate Class Reference

class CCertificate : public CSignedObject

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.

Since
v6.0

Inherits from

Public Member Functions
~CCertificate()
IMPORT_C TBoolIsSelfSignedL()
IMPORT_C HBufC *IssuerL()
IMPORT_C TKeyIdentifierKeyIdentifierL()
IMPORT_C const CSubjectPublicKeyInfo &PublicKey()
IMPORT_C const TPtrC8SerialNumber()
IMPORT_C HBufC *SubjectL()
IMPORT_C const CValidityPeriod &ValidityPeriod()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSignedObject::DataElementEncoding(const TUint)const
CSignedObject::Encoding()const
CSignedObject::ExternalizeL(RWriteStream &)const
CSignedObject::Fingerprint()const
CSignedObject::InternalizeL(RReadStream &)
CSignedObject::SetParametersL(const CSigningKeyParameters &)
CSignedObject::Signature()const
CSignedObject::SignedDataL()const
CSignedObject::SigningAlgorithm()const
CSignedObject::VerifyRSASignatureL(const TDesC8 &)const
CSignedObject::VerifyRSASignatureL(const TDesC8 &,const TDesC8 &)const
CSignedObject::VerifySignatureL(const TDesC8 &)const
CSignedObject::VerifySignatureL(const TDesC8 &,const TDesC8 &)const
CSignedObject::~CSignedObject()
Protected Attributes
HBufC8 *iSerialNumber
CSubjectPublicKeyInfo *iSubjectPublicKeyInfo
CValidityPeriod *iValidityPeriod
Inherited Attributes
CSignedObject::iEncoding
CSignedObject::iFingerprint
CSignedObject::iKeyFactory
CSignedObject::iParameters
CSignedObject::iSignature
CSignedObject::iSigningAlgorithm

Constructor & Destructor Documentation

~CCertificate()

IMPORT_C~CCertificate()

Destructor.

Frees all resources owned by the object.

Member Functions Documentation

IsSelfSignedL()

IMPORT_C TBoolIsSelfSignedL()const [pure virtual]

Tests whether a certificate is self-signed.

IssuerL()

IMPORT_C HBufC *IssuerL()const [pure virtual]

Gets the issuer.

KeyIdentifierL()

IMPORT_C TKeyIdentifierKeyIdentifierL()const [virtual]

Gets the key identifier.

PublicKey()

IMPORT_C const CSubjectPublicKeyInfo &PublicKey()const

Gets the subject public key information.

SerialNumber()

IMPORT_C const TPtrC8SerialNumber()const

Gets the serial number.

SubjectL()

IMPORT_C HBufC *SubjectL()const [pure virtual]

Gets the subject.

ValidityPeriod()

IMPORT_C const CValidityPeriod &ValidityPeriod()const

Gets the validity period.

Member Data Documentation

HBufC8 * iSerialNumber

HBufC8 *iSerialNumber[protected]

The serial number.

CSubjectPublicKeyInfo * iSubjectPublicKeyInfo

CSubjectPublicKeyInfo *iSubjectPublicKeyInfo[protected]

The subject public key information.

CValidityPeriod * iValidityPeriod

CValidityPeriod *iValidityPeriod[protected]

The validity period.