#include <signed.h>
Link against: crypto.lib
class CCertificate : public CSignedObject |
Protected Attributes | |
---|---|
HBufC8 * | iSerialNumber |
CSubjectPublicKeyInfo * | iSubjectPublicKeyInfo |
CValidityPeriod * | iValidityPeriod |
Public Member Functions | |
---|---|
~CCertificate() | |
pure virtual IMPORT_C TBool | IsSelfSignedL() |
pure virtual IMPORT_C HBufC * | IssuerL() |
virtual IMPORT_C TKeyIdentifier | KeyIdentifierL() |
IMPORT_C const CSubjectPublicKeyInfo & | PublicKey() |
IMPORT_C const TPtrC8 | SerialNumber() |
pure virtual IMPORT_C HBufC * | SubjectL() |
IMPORT_C const CValidityPeriod & | ValidityPeriod() |
Inherited Attributes | |
---|---|
CSignedObject::iEncoding | |
CSignedObject::iFingerprint | |
CSignedObject::iKeyFactory | |
CSignedObject::iParameters | |
CSignedObject::iSignature | |
CSignedObject::iSigningAlgorithm |
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.
CSubjectPublicKeyInfo * | iSubjectPublicKeyInfo | [protected] |
The subject public key information.
IMPORT_C TBool | IsSelfSignedL | ( | ) | const [pure virtual] |
Tests whether a certificate is self-signed.
IMPORT_C HBufC * | IssuerL | ( | ) | const [pure virtual] |
Gets the issuer.
IMPORT_C TKeyIdentifier | KeyIdentifierL | ( | ) | const [virtual] |
Gets the key identifier.
IMPORT_C const CSubjectPublicKeyInfo & | PublicKey | ( | ) | const |
Gets the subject public key information.
IMPORT_C const TPtrC8 | SerialNumber | ( | ) | const |
Gets the serial number.
IMPORT_C HBufC * | SubjectL | ( | ) | const [pure virtual] |
Gets the subject.
IMPORT_C const CValidityPeriod & | ValidityPeriod | ( | ) | const |
Gets the validity period.