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.
v6.0
Public Member Functions | |
---|---|
~CCertificate() | |
IMPORT_C TBool | IsSelfSignedL() |
IMPORT_C HBufC * | IssuerL() |
IMPORT_C TKeyIdentifier | KeyIdentifierL() |
IMPORT_C const CSubjectPublicKeyInfo & | PublicKey() |
IMPORT_C const TPtrC8 | SerialNumber() |
IMPORT_C HBufC * | SubjectL() |
IMPORT_C const CValidityPeriod & | ValidityPeriod() |
Protected Attributes | |
---|---|
HBufC8 * | iSerialNumber |
CSubjectPublicKeyInfo * | iSubjectPublicKeyInfo |
CValidityPeriod * | iValidityPeriod |
Inherited Attributes | |
---|---|
CSignedObject::iEncoding | |
CSignedObject::iFingerprint | |
CSignedObject::iKeyFactory | |
CSignedObject::iParameters | |
CSignedObject::iSignature | |
CSignedObject::iSigningAlgorithm |
IMPORT_C TBool | IsSelfSignedL | ( | ) | const [pure virtual] |
Tests whether a certificate is self-signed.
ETrue, if it is self-signed; EFalse, otherwise.
IMPORT_C HBufC * | IssuerL | ( | ) | const [pure virtual] |
Gets the issuer.
A heap descriptor representing the issuer.
IMPORT_C TKeyIdentifier | KeyIdentifierL | ( | ) | const [virtual] |
Gets the key identifier.
The key identifier.
IMPORT_C const CSubjectPublicKeyInfo & | PublicKey | ( | ) | const |
Gets the subject public key information.
The subject public key information.
IMPORT_C const TPtrC8 | SerialNumber | ( | ) | const |
Gets the serial number.
A non-modifiable pointer descriptor representing the serial number.
IMPORT_C HBufC * | SubjectL | ( | ) | const [pure virtual] |
Gets the subject.
A heap descriptor representing the subject.
IMPORT_C const CValidityPeriod & | ValidityPeriod | ( | ) | const |
Gets the validity period.
The validity period.
CSubjectPublicKeyInfo * | iSubjectPublicKeyInfo | [protected] |
The subject public key information.