Location:
x509certchain.h
Link against: x509.lib
class CX509CertChain : public CBase;
Abstract base class for X.509 certificate chain validation; derive from this to suit your profile.
CBase
- Base class for all classes to be instantiated on the heap
CX509CertChain
- Abstract base class for X.509 certificate chain validation; derive from this to suit your profile
Defined in CX509CertChain
:
Cert()
, Count()
, DecodeCertsL()
, IsEqualL()
, iChain
, ~CX509CertChain()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
IMPORT_C ~CX509CertChain();
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C TInt Count() const;
Gets the number of certificates in the chain.
|
IMPORT_C const CX509Certificate &Cert(TInt aIndex) const;
Gets the certificate identified by the specified index. Note that Cert(Count()
) corresponds to the root (if any) whilst Cert(0) corresponds to the outmost certificate in the chain.
|
|
IMPORT_C CArrayPtrFlat< CX509Certificate > *DecodeCertsL(const TDesC8 &aBinaryData);
Decodes the individual elements of the signed data to construct the certificates.
|
|
IMPORT_C TBool IsEqualL(const CX509CertChain &aOther) const;
Tests whether the specified X.509 certificate chain is equal to this X.509 certificate chain.
|
|
protected: CArrayPtrFlat< CX509Certificate > * iChain;