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 }
Public Member Functions | |
---|---|
~CCMSX509CertificateList () | |
void | DecodeL (const TDesC8 &) |
CASN1EncBase * | EncoderLC () |
IMPORT_C CCMSX509CertificateList * | NewLC () |
IMPORT_C CCMSX509CertificateList * | NewLC (const CX509Certificate &, const CArrayPtrFlat < CX509Certificate > &) |
IMPORT_C CCMSX509CertificateList * | NewLC ( CCMSX509CertificateListParameters &) |
IMPORT_C const CCMSX509CertificateListParameters & | Parameters () |
IMPORT_C void | SetParametersL ( CCMSX509CertificateListParameters &) |
Protected Member Functions | |
---|---|
CCMSX509CertificateList () | |
IMPORT_C void | ConstructL () |
IMPORT_C void | ConstructL (const CX509Certificate &, const CArrayPtrFlat < CX509Certificate > &) |
Private Member Functions | |
---|---|
CArrayPtrFlat < CX509CertExtension > * | DecodeExtensionsL (const TASN1DecGeneric *) |
CASN1EncSequence * | EncodeExtensionsLC (const CArrayPtrFlat < CX509CertExtension > *) |
Private Attributes | |
---|---|
CCMSX509CertificateListParameters * | iParams |
MCMSX509CertificateList * | iReserved |
IMPORT_C void | ConstructL | ( | const CX509Certificate & | aSigningCertificate, |
const CArrayPtrFlat < CX509Certificate > & | aRevokedCertificates | |||
) | [protected] |
Protected construction to allow derivation
const CX509Certificate & aSigningCertificate | |
const CArrayPtrFlat < CX509Certificate > & aRevokedCertificates |
CArrayPtrFlat < CX509CertExtension > * | DecodeExtensionsL | ( | const TASN1DecGeneric * | aExtensions | ) | [private] |
Decodes Extensions
const TASN1DecGeneric * aExtensions |
void | DecodeL | ( | const TDesC8 & | aRawData | ) |
const TDesC8 & aRawData | raw-data to be parsed in this instance |
CASN1EncSequence * | EncodeExtensionsLC | ( | const CArrayPtrFlat < CX509CertExtension > * | aExtensions | ) | const [private] |
Encodes Extensions
const CArrayPtrFlat < CX509CertExtension > * aExtensions |
IMPORT_C CCMSX509CertificateList * | NewLC | ( | ) | [static] |
Two-phased constructor. Leaves newly created instance in CleanupStack
IMPORT_C CCMSX509CertificateList * | NewLC | ( | const CX509Certificate & | aSigningCertificate, |
const CArrayPtrFlat < CX509Certificate > & | aRevokedCertificates | |||
) | [static] |
Two-phased constructor. Leaves newly created instance in CleanupStack
const CX509Certificate & aSigningCertificate | Signing certificate |
const CArrayPtrFlat < CX509Certificate > & aRevokedCertificates | List of revoked certificates |
IMPORT_C CCMSX509CertificateList * | NewLC | ( | CCMSX509CertificateListParameters & | aParameters | ) | [static] |
Two-phased constructor. Leaves newly created instance in CleanupStack
CCMSX509CertificateListParameters & aParameters | Parameters used for creating list, ownership transferred |
IMPORT_C const CCMSX509CertificateListParameters & | Parameters | ( | ) | const |
IMPORT_C void | SetParametersL | ( | CCMSX509CertificateListParameters & | aSigningCertificate | ) |
CCMSX509CertificateListParameters & aSigningCertificate | X.509 certificate to be set as signing |
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.