CX509CertChain Class Reference
class CX509CertChain : public CBase |
Abstract base class for X.509 certificate chain validation; derive from this to suit your profile.
Constructor & Destructor Documentation
~CX509CertChain()
IMPORT_C | ~CX509CertChain | ( | ) | |
Destructor.
Frees all resources owned by the object, prior to its destruction.
Member Functions Documentation
Cert(TInt)
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.
Parameters
TInt aIndex | The ordinal number representing the position of the certificate within the chain. |
CleanupCertArray(TAny *)
void | CleanupCertArray | ( | TAny * | aArray | ) | [private, static] |
Count()
IMPORT_C TInt | Count | ( | ) | const |
Gets the number of certificates in the chain.
DecodeCertsL(const TDesC8 &)
Decodes the individual elements of the signed data to construct the certificates.
If the certificate has decoded the members from TeletexString then the return value may be incorrect because TeletexString type is not fully supported by this library. Instead the decode methods perform a direct conversion from 8 to 16bits by adding null characters in the second byte of each character. This will work as expected for cases where the string contains ASCII data.
Parameters
const TDesC8 & aBinaryData | The encoded binary representation. |
IsEqualL(const CX509CertChain &)
Tests whether the specified X.509 certificate chain is equal to this X.509 certificate chain.
Parameters
const CX509CertChain & aOther | The X.509 certificate chain to be compared. |
Member Data Documentation
CArrayPtrFlat< CX509Certificate > * iChain
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.