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_CCCMSX509GeneralName()[protected]

C++ default constructor.

~CCMSX509GeneralName()

~CCMSX509GeneralName()[virtual]

Destructor.

Member Functions Documentation

ConstructL(const TTagType, const TDesC8 &)

IMPORT_C voidConstructL(const TTagTypeaTag,
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 &)

voidDecodeL(const TDesC8 &aRawData)
From MCMSModule
Since
3.0

Parameters

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

EncodeL(HBufC8 *&)

voidEncodeL(HBufC8 *&aResult)const
From MCMSModule
Since
3.0

Parameters

HBufC8 *& aResultAllocates 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 TTagTypeaTag,
const TDesC8 &aData
)[static]

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

Parameters

const TTagType aTagthe type of the choice
const TDesC8 & aDataThe data in DER encoded format

SetDataL(const TDesC8 &)

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

Parameters

const TDesC8 & aDatadata of the choice

SetTagL(const TTagType)

IMPORT_C voidSetTagL(const TTagTypeaTag)
Setter for the tag
Since
3.0

Parameters

const TTagType aTagtag of the choice

Tag()

IMPORT_C TTagTypeTag()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]