Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: x509certchain.h
Link against: x509.lib

Class CX509CertChain

CX509CertChain

Support

Supported from 6.0

Description

Abstract base class for x509 certificate chain validation.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CX509CertChainAbstract base class for x509 certificate chain validation

Defined in CX509CertChain:
Cert(), Count(), DecodeCertsL(), ~CX509CertChain()

Inherited from CBase:
operator new()


Destruction


~CX509CertChain()

~CX509CertChain();

Description

Destructor.

Frees all resources owned by the object, prior to its destruction.

[Top]


Member functions


Count()

TInt Count() const;

Description

Gets the number of certificates.

Return value

TInt

The number of certificates.


Cert()

const CX509Certificate& Cert(TInt aIndex) const;

Description

Gets a certificate index.

Parameters

TInt aIndex

The certificate index numbers.

Return value

CX509Certificate&

The certificate object.

[Top]


DecodeCertsL()

CArrayPtrFlat<CX509Certificate>* CX509CertChain::DecodeCertsL(const TDesC8& aBinaryData);

Description

Decodes the individual elements of the signed data to construct the certificate.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CArrayPtrFlat<CX509Certificate>*

The certificate object.