|
|
|
Location:
pkixcertchain.h
Link against: x500.lib
CPKIXCertChain
Supported from 6.0
Interface to certificate management.
Given a set of certificates supplied by a third party, and a local store of trusted root certificates, this component will attempt to validate the identity of the third party.
|
Defined in CPKIXCertChain:
AddCertL(), BuildChainL(), BuildChainL(), ChainHasRoot(), NewL(), NewL(), NewL(), NewLC(), NewLC(), NewLC(), ValidateL(), ValidateL(), ValidateL(), ValidateL(), ValidateL(), ~CPKIXCertChain()
Inherited from CBase:
operator new()
Inherited from CX509CertChain:
Cert(),
Count(),
DecodeCertsL()
static CPKIXCertChain* NewL();
Supported from 6.1
Constructs a new CPKIX Certificate chain object.
|
static CPKIXCertChain* NewL(const TPtrC8& aEncodedCerts, const TUid aClient);
Withdrawn in 6.1
Constructs a new CPKIX Certificate chain object.
|
|
static CPKIXCertChain* NewL(const TPtrC8& aEncodedCerts, const CArrayPtr<CX509Certificate>& aRootCerts);
Withdrawn in 6.1
Constructs a new CPKIX Certificate chain object.
|
|
static CPKIXCertChain* NewLC();
Supported from 6.1
Constructs a new CPKIX Certificate chain object, and puts a pointer to it onto the cleanup stack.
|
static CPKIXCertChain* NewLC(const TPtrC8& aEncodedCerts, const CArrayPtr<CX509Certificate>& aRootCerts);
Withdrawn in 6.1
Constructs a new CPKIX Certificate chain object, and puts a pointer to it onto the cleanup stack.
|
|
static CPKIXCertChain* NewLC(const TPtrC8& aEncodedCerts, const TUid aClient);
Withdrawn in 6.1
Constructs a new CPKIX Certificate chain object, and puts a pointer to it onto the cleanup stack.
|
|
~CPKIXCertChain();
Destructor.
Frees all resources owned by the object, prior to its destruction.
CPKIXValidationResult* ValidateL(const TPtrC8& aEncodedCerts,const TTime& aValidationTime,const TUid aClient);
Supported from 6.1
Constructs a certificate chain, which it attempts to complete with a trusted root certificate from the local store of trusted roots.
|
|
CPKIXValidationResult* ValidateL(const TPtrC8& aEncodedCerts,const TTime& aValidationTime,const TUid aClient,const CArrayPtr<HBufC>& aInitialPolicies);
Supported from 6.1
Constructs a certificate chain, which it attempts to complete with a trusted root certificate from the local store of trusted roots.
|
|
CPKIXValidationResult* ValidateL(const TPtrC8& aEncodedCerts,const TTime& aValidationTime,const CArrayPtr<CX509Certificate>& aRootCerts,const CArrayPtr<HBufC>& aInitialPolicies);
Supported from 6.1
Constructs a certificate chain, which it attempts to complete with a trusted root certificate from the local store of trusted roots.
|
|
CPKIXValidationResult* ValidateL(const TTime& aValidationTime);
Withdrawn in 6.1
Constructs a certificate chain, which it attempts to complete with a trusted root certificate from the local store of trusted roots.
Must consist of the concatenation of the DER encoded form of the certificates which make up the chain. The first certificate must be the end entity certificate subsequent certificates may be in any order. The chain object will attempt to construct a valid chain ending in a trusted root from the certificates supplied and those encountered in the local store.
|
|
CPKIXValidationResult* ValidateL(const TTime& aValidationTime, const CArrayPtr<HBufC>& aInitialPolicies);
Withdrawn in 6.1
Constructs a certificate chain, which it attempts to complete with a trusted root certificate from the local store of trusted roots.
|
|
void BuildChainL(const TPtrC8& aEncodedCerts, const TUid aClient);
Supported from 6.1
Builds the certificate chain.
|
void BuildChainL(const TPtrC8& aEncodedCerts, const CArrayPtr<CX509Certificate>& aRootCerts);
Supported from 6.1
Builds the certificate chain.
|
void AddCertL(const TPtrC8& aEncodedCerts);
Withdrawn in 6.1
Adds a certificate to the chain.
|
TBool ChainHasRoot() const;
Withdrawn in 6.1
Gets the root certificate of the chain.
|