CCMSCertificateChoices Class Reference

class CCMSCertificateChoices : public CBase

CertificateChoices type module

ASN.1 definition: CertificateChoices ::= CHOICE { certificate Certificate, -- See X.509 extendedCertificate [0] IMPLICIT ExtendedCertificate, -- Obsolete attrCert [1] IMPLICIT AttributeCertificate } -- See X.509 and X9.57

cms.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CCMSCertificateChoices()

IMPORT_C CCMSCertificateChoices ( ) [protected]

C++ default constructor.

~CCMSCertificateChoices()

~CCMSCertificateChoices ( ) [virtual]

Destructor.

Member Functions Documentation

AttrCert()

IMPORT_C const CCMSX509AttributeCertificate * AttrCert ( ) const
Getter for attrCert.
Since
2.8

Certificate()

IMPORT_C const CCMSX509Certificate * Certificate ( ) const
Getter for certificate.
Since
2.8

ConstructL(const CCMSX509Certificate &)

IMPORT_C void ConstructL ( const CCMSX509Certificate & aCertificate ) [protected]

Protected construction to allow derivation

Parameters

const CCMSX509Certificate & aCertificate

ConstructL(const CCMSX509AttributeCertificate &)

IMPORT_C void ConstructL ( const CCMSX509AttributeCertificate & aAttrCert ) [protected]

Protected construction to allow derivation

Parameters

const CCMSX509AttributeCertificate & aAttrCert

DecodeL(const TDesC8 &)

void DecodeL ( const TDesC8 & aRawData )
From MCMSModule
Since
2.8

Parameters

const TDesC8 & aRawData raw-data to be parsed in this instance

EncodeL(HBufC8 *&)

void EncodeL ( HBufC8 *& aResult ) const
From MCMSModule
Since
2.8

Parameters

HBufC8 *& aResult Allocates and sets result in this variable

EncoderLC()

CASN1EncBase * EncoderLC ( ) const
From MCMSModule
Since
2.8

NewL()

IMPORT_C CCMSCertificateChoices * NewL ( ) [static]

Two-phased constructor.

NewL(const CCMSX509Certificate &)

IMPORT_C CCMSCertificateChoices * NewL ( const CCMSX509Certificate & aCertificate ) [static]

Two-phased constructor. Copies of the parameters are made.

Parameters

const CCMSX509Certificate & aCertificate X.509 Certificate

NewL(const CCMSX509AttributeCertificate &)

IMPORT_C CCMSCertificateChoices * NewL ( const CCMSX509AttributeCertificate & aAttrCert ) [static]

Two-phased constructor. Copies of the parameters are made.

Parameters

const CCMSX509AttributeCertificate & aAttrCert

NewLC()

IMPORT_C CCMSCertificateChoices * NewLC ( ) [static]

Two-phased constructor. Leaves a copy in cleanup stack.

NewLC(const CCMSX509Certificate &)

IMPORT_C CCMSCertificateChoices * NewLC ( const CCMSX509Certificate & aCertificate ) [static]

Two-phased constructor. Copies of the parameters are made. Leaves a copy in cleanup stack.

Parameters

const CCMSX509Certificate & aCertificate X.509 Certificate

NewLC(const CCMSX509AttributeCertificate &)

IMPORT_C CCMSCertificateChoices * NewLC ( const CCMSX509AttributeCertificate & aAttrCert ) [static]

Two-phased constructor. Copies of the parameters are made. Leaves a copy in cleanup stack.

Parameters

const CCMSX509AttributeCertificate & aAttrCert

SetAttrCertL(const CCMSX509AttributeCertificate &)

IMPORT_C void SetAttrCertL ( const CCMSX509AttributeCertificate & aAttrCert )
Setter for attrCert. Create a copy of the parameters.
Since
2.8

Parameters

const CCMSX509AttributeCertificate & aAttrCert X.509 AttributeCertificate

SetCertificateL(const CCMSX509Certificate &)

IMPORT_C void SetCertificateL ( const CCMSX509Certificate & aCertificate )
Setter for Certificate. Create a copy of the parameters.
Since
2.8

Parameters

const CCMSX509Certificate & aCertificate X.509 Certificate

Member Data Documentation

CCMSX509AttributeCertificate * iAttrCert

CCMSX509AttributeCertificate * iAttrCert [private]

CCMSX509Certificate * iCertificate

CCMSX509Certificate * iCertificate [private]