|
||
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()const
Tests whether a certificate is self-signed.IssuerL()const
Gets the issuer.KeyIdentifierL()const
Gets the key identifier.PublicKey()const
Gets the subject public key information.SerialNumber()const
Gets the serial number.SubjectL()const
Gets the subject.ValidityPeriod()const
Gets the validity period.iSerialNumber
The serial number. iSubjectPublicKeyInfo
The subject public key information. iValidityPeriod
The validity period. ~CCertificate()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CSignedObject
:
DataElementEncoding(const TUint)const
Gets the encoded data for the specified encoded data element, in the (to be sign...Encoding()const
Gets the entire encoding.ExternalizeL(RWriteStream &)const
Externalises the encoding of the entire object to a write stream.Fingerprint()const
Gets the fingerprint.InternalizeL(RReadStream &)
Internalises the encoded object from a read stream.SetParametersL(const CSigningKeyParameters &)
Sets the signing key parameters.Signature()const
Gets the digital signature.SignedDataL()const
Gets the signed data.SigningAlgorithm()const
Gets the signing algorithm ID used.VerifySignatureL(const TDesC8 &)const
Verifies a signature using the specified encoded key.VerifySignatureL(const TDesC8 &,const TDesC8 &)const
Verifies a signature using the specified encoded key and hash.iEncoding
A heap descriptor representing the entire encoding. iFingerprint
The fingerprint.iKeyFactory
A pointer to a key factory object. iParameters
The signing key parameters iSignature
The digital signature. iSigningAlgorithm
The signing algorithm ID. 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.
|
IMPORT_C virtual TBool IsSelfSignedL() const=0;
Tests whether a certificate is self-signed.
|
IMPORT_C virtual HBufC* SubjectL() const=0;
Gets the subject.
|
IMPORT_C virtual HBufC* IssuerL() const=0;
Gets the issuer.
|
IMPORT_C virtual TKeyIdentifier KeyIdentifierL() const;
Gets the key identifier.
|
protected: CSubjectPublicKeyInfo * iSubjectPublicKeyInfo;
The subject public key information.