|
|
|
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()constTests whether a certificate is self-signed.IssuerL()constGets the issuer.KeyIdentifierL()constGets the key identifier.PublicKey()constGets the subject public key information.SerialNumber()constGets the serial number.SubjectL()constGets the subject.ValidityPeriod()constGets the validity period.iSerialNumberThe serial number. iSubjectPublicKeyInfoThe subject public key information. iValidityPeriodThe 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)constGets the encoded data for the specified encoded data element, in the (to be sign...Encoding()constGets the entire encoding.ExternalizeL(RWriteStream &)constExternalises the encoding of the entire object to a write stream.Fingerprint()constGets the fingerprint.InternalizeL(RReadStream &)Internalises the encoded object from a read stream.SetParametersL(const CSigningKeyParameters &)Sets the signing key parameters.Signature()constGets the digital signature.SignedDataL()constGets the signed data.SigningAlgorithm()constGets the signing algorithm ID used.VerifySignatureL(const TDesC8 &)constVerifies a signature using the specified encoded key.VerifySignatureL(const TDesC8 &,const TDesC8 &)constVerifies a signature using the specified encoded key and hash.iEncodingA heap descriptor representing the entire encoding. iFingerprintThe fingerprint.iKeyFactoryA pointer to a key factory object. iParametersThe signing key parameters iSignatureThe digital signature. iSigningAlgorithmThe 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.