CCMSX509GeneralName Class Reference

class CCMSX509GeneralName : public CBase

X.509 GeneralName type module

ASN.1 definition: GeneralName ::= CHOICE { otherName [0] INSTANCE OF OTHER-NAME, rfc822Name [1] IA5String, dNSName [2] IA5String, x400Address [3] ORAddress, directoryName [4] Name, ediPartyName [5] EDIPartyName, uniformResourceIdentifier [6] IA5String, iPAddress [7] OCTET STRING, registeredID [8] OBJECT IDENTIFIER }

cms.lib
Since
3.0

Inherits from

Constructor & Destructor Documentation

CCMSX509GeneralName()

IMPORT_C CCMSX509GeneralName ( ) [protected]

C++ default constructor.

~CCMSX509GeneralName()

~CCMSX509GeneralName ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const TTagType, const TDesC8 &)

IMPORT_C void ConstructL ( const TTagType aTag,
const TDesC8 & aData
) [protected]

Protected construction to allow derivation

Parameters

const TTagType aTag
const TDesC8 & aData

Data()

IMPORT_C const TDesC8 & Data ( ) const
Getter for the data
Since
3.0

DecodeL(const TDesC8 &)

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

Parameters

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

EncodeL(HBufC8 *&)

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

Parameters

HBufC8 *& aResult Allocates and sets result in this variable

EncoderLC()

CASN1EncBase * EncoderLC ( ) const
From MCMSModule
Since
3.0

NewL()

IMPORT_C CCMSX509GeneralName * NewL ( ) [static]

Two-phased constructor.

NewL(const TTagType, const TDesC8 &)

IMPORT_C CCMSX509GeneralName * NewL ( const TTagType aTag,
const TDesC8 & aData
) [static]

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

Parameters

const TTagType aTag the type of the choice
const TDesC8 & aData The data in DER encoded format

SetDataL(const TDesC8 &)

IMPORT_C void SetDataL ( const TDesC8 & aData )
Setter for data
Since
3.0

Parameters

const TDesC8 & aData data of the choice

SetTagL(const TTagType)

IMPORT_C void SetTagL ( const TTagType aTag )
Setter for the tag
Since
3.0

Parameters

const TTagType aTag tag of the choice

Tag()

IMPORT_C TTagType Tag ( ) const
Getter for the tag.
Since
3.0

Member Data Documentation

HBufC8 * iData

HBufC8 * iData [private]

MCMSX509GeneralNameExtension * iReserved

MCMSX509GeneralNameExtension * iReserved [private]

TTagType iTag

TTagType iTag [private]