Location:
signed.h
Link against: crypto.lib
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.
CBase
- Base class for all classes to be instantiated on the heap
CSignedObject
- Base class for certificates
CCertificate
- A data structure that binds a public key to a given individual
Defined in CCertificate
:
IsSelfSignedL()
, IssuerL()
, KeyIdentifierL()
, PublicKey()
, SerialNumber()
, SubjectL()
, ValidityPeriod()
, iSerialNumber
, iSubjectPublicKeyInfo
, iValidityPeriod
, ~CCertificate()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CSignedObject
:
DataElementEncoding()
,
Encoding()
,
ExternalizeL()
,
Fingerprint()
,
InternalizeL()
,
SetParametersL()
,
Signature()
,
SignedDataL()
,
SigningAlgorithm()
,
VerifySignatureL()
,
iEncoding
,
iFingerprint
,
iKeyFactory
,
iParameters
,
iSignature
,
iSigningAlgorithm
IMPORT_C const CSubjectPublicKeyInfo &PublicKey() const;
Gets the subject public key information.
|
IMPORT_C const TPtrC8 SerialNumber() const;
Gets the serial number.
|
IMPORT_C const CValidityPeriod &ValidityPeriod() const;
Gets the validity period.
|
virtual IMPORT_C TBool IsSelfSignedL() const=0;
Tests whether a certificate is self-signed.
|
virtual IMPORT_C HBufC *SubjectL() const=0;
Gets the subject.
|
virtual IMPORT_C HBufC *IssuerL() const=0;
Gets the issuer.
|
virtual IMPORT_C TKeyIdentifier KeyIdentifierL() const;
Gets the key identifier.
|
protected: CSubjectPublicKeyInfo * iSubjectPublicKeyInfo;
The subject public key information.