CWTLSName Class Reference

class CWTLSName : public CBase

Stores the type of a WTLS name and the underlying encoding of the type.

Inherits from

Constructor & Destructor Documentation

CWTLSName()

CWTLSName()[private]

~CWTLSName()

IMPORT_C~CWTLSName()

Destructor.

Frees all resources owned by the object, prior to its destruction.

Member Functions Documentation

AllocNameDataL(const TDesC8 &, TInt &)

voidAllocNameDataL(const TDesC8 &aBinaryData,
TInt &aPos
)[private]

Parameters

const TDesC8 & aBinaryData
TInt & aPos

AllocTextDataL(const TDesC8 &, TInt &)

voidAllocTextDataL(const TDesC8 &aBinaryData,
TInt &aPos
)[private]

Parameters

const TDesC8 & aBinaryData
TInt & aPos

ConstructL(const TDesC8 &, TInt &)

voidConstructL(const TDesC8 &aBinaryData,
TInt &aPos
)[private]

Parameters

const TDesC8 & aBinaryData
TInt & aPos

ConstructL(const CWTLSName &)

voidConstructL(const CWTLSName &aName)[private]

Parameters

const CWTLSName & aName

DisplayNameL()

IMPORT_C HBufC *DisplayNameL()const

Gets the decoded value for the common or organisation name.

Provides the functionality required by the CCertificate::IssuerL() and SubjectL() functions.

ExactMatchL(const CWTLSName &)

IMPORT_C TBoolExactMatchL(const CWTLSName &aName)const

Performs a simple byte compare between this WTLS name and a specified WTLS name.

Needed for the constructing/validating of certificate chains.

Parameters

const CWTLSName & aNameAn existing CWTLSName object.

NameData()

IMPORT_C TPtrC8NameData()const

Gets the encoding of the underlying type of WTLS name.

NameType()

IMPORT_C TWTLSNameTypeNameType()const

Gets the type of the WTLS name.

NewL(const TDesC8 &)

IMPORT_C CWTLSName *NewL(const TDesC8 &aBinaryData)[static]

Creates a new CWTLSName object from the specified buffer containing the binary coded representation.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.

NewL(const TDesC8 &, TInt &)

IMPORT_C CWTLSName *NewL(const TDesC8 &aBinaryData,
TInt &aPos
)[static]

Creates a new CWTLSName object from the specified buffer containing the binary coded representation, starting at the specified offset.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.
TInt & aPosThe offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object.

NewL(const CWTLSName &)

IMPORT_C CWTLSName *NewL(const CWTLSName &aName)[static]

Creates a new CWTLSName object from an existing one.

Parameters

const CWTLSName & aNameAn existing CWTLSName object.

NewLC(const TDesC8 &)

IMPORT_C CWTLSName *NewLC(const TDesC8 &aBinaryData)[static]

Creates a new CWTLSName object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.

NewLC(const TDesC8 &, TInt &)

IMPORT_C CWTLSName *NewLC(const TDesC8 &aBinaryData,
TInt &aPos
)[static]

Creates a new CWTLSName object from the specified buffer containing the binary coded representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.
TInt & aPosThe offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object.

NewLC(const CWTLSName &)

IMPORT_C CWTLSName *NewLC(const CWTLSName &aName)[static]

Creates a new CWTLSName object from an existing one, and puts a pointer to it onto the cleanup stack.

Parameters

const CWTLSName & aNameAn existing CWTLSName object.

Member Data Documentation

HBufC8 * iNameData

HBufC8 *iNameData[private]

TWTLSNameType iNameType

TWTLSNameType iNameType[private]