CCMSX509CertificateList Class Reference

class CCMSX509CertificateList : public CCMSSequence

X509 CertificateList

CertificateList ::= SEQUENCE { tbsCertList TBSCertList, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING }

TBSCertList ::= SEQUENCE { version Version OPTIONAL, -- if present, shall be v2 signature AlgorithmIdentifier, issuer Name, thisUpdate Time, nextUpdate Time OPTIONAL, revokedCertificates SEQUENCE OF SEQUENCE { userCertificate CertificateSerialNumber, revocationDate Time, crlEntryExtensions Extensions OPTIONAL -- if present, shall be v2 } OPTIONAL, crlExtensions [0] Extensions OPTIONAL -- if present, shall be v2 -- }

Name ::= CHOICE { -- only one possibility for now -- rdnSequence RDNSequence }

RDNSequence ::= SEQUENCE OF RelativeDistinguishedName

RelativeDistinguishedName ::= SET SIZE (1 .. MAX) OF AttributeTypeAndValue

Version ::= INTEGER { v1(0), v2(1), v3(2) }

CertificateSerialNumber ::= INTEGER

Time ::= CHOICE { utcTime UTCTime, generalTime GeneralizedTime }

cms.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CCMSX509CertificateList()

IMPORT_CCCMSX509CertificateList()[protected]

C++ default constructor.

~CCMSX509CertificateList()

~CCMSX509CertificateList()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

IMPORT_C voidConstructL()[protected]

Protected construction to allow derivation

ConstructL(const CX509Certificate &, const CArrayPtrFlat< CX509Certificate > &)

IMPORT_C voidConstructL(const CX509Certificate &aSigningCertificate,
const CArrayPtrFlat< CX509Certificate > &aRevokedCertificates
)[protected]

Protected construction to allow derivation

Parameters

const CX509Certificate & aSigningCertificate
const CArrayPtrFlat< CX509Certificate > & aRevokedCertificates

DecodeExtensionsL(const TASN1DecGeneric *)

CArrayPtrFlat< CX509CertExtension > *DecodeExtensionsL(const TASN1DecGeneric *aExtensions)[private]

Decodes Extensions

Parameters

const TASN1DecGeneric * aExtensions

DecodeL(const TDesC8 &)

voidDecodeL(const TDesC8 &aRawData)
From MCMSModule
Since
2.8

Parameters

const TDesC8 & aRawDataraw-data to be parsed in this instance

EncodeExtensionsLC(const CArrayPtrFlat< CX509CertExtension > *)

CASN1EncSequence *EncodeExtensionsLC(const CArrayPtrFlat< CX509CertExtension > *aExtensions)const [private]

Encodes Extensions

Parameters

const CArrayPtrFlat< CX509CertExtension > * aExtensions

EncoderLC()

CASN1EncBase *EncoderLC()const
From MCMSModule
Since
2.8

NewLC()

IMPORT_C CCMSX509CertificateList *NewLC()[static]

Two-phased constructor. Leaves newly created instance in CleanupStack

NewLC(const CX509Certificate &, const CArrayPtrFlat< CX509Certificate > &)

IMPORT_C CCMSX509CertificateList *NewLC(const CX509Certificate &aSigningCertificate,
const CArrayPtrFlat< CX509Certificate > &aRevokedCertificates
)[static]

Two-phased constructor. Leaves newly created instance in CleanupStack

Parameters

const CX509Certificate & aSigningCertificateSigning certificate
const CArrayPtrFlat< CX509Certificate > & aRevokedCertificatesList of revoked certificates

NewLC(CCMSX509CertificateListParameters &)

IMPORT_C CCMSX509CertificateList *NewLC(CCMSX509CertificateListParameters &aParameters)[static]

Two-phased constructor. Leaves newly created instance in CleanupStack

Parameters

CCMSX509CertificateListParameters & aParametersParameters used for creating list, ownership transferred

Parameters()

IMPORT_C const CCMSX509CertificateListParameters &Parameters()const
Getter for CertificateList parameters
Since
2,8

SetParametersL(CCMSX509CertificateListParameters &)

IMPORT_C voidSetParametersL(CCMSX509CertificateListParameters &aSigningCertificate)
Setter for CertificateList parameters, takes ownership
Since
2.8

Parameters

CCMSX509CertificateListParameters & aSigningCertificateX.509 certificate to be set as signing

Member Data Documentation

CCMSX509CertificateListParameters * iParams

CCMSX509CertificateListParameters *iParams[private]

MCMSX509CertificateList * iReserved

MCMSX509CertificateList *iReserved[private]