CX509Utf8StringListExt Class Reference

class CX509Utf8StringListExt : public CX509ExtensionBase

A Symbian specific X.509 v3 certificate extension that contains an arbitrary list of UTF-8 strings.

Inherits from

Constructor & Destructor Documentation

~CX509Utf8StringListExt()

~CX509Utf8StringListExt()

Destructor. Frees all resources owned by the object.

Member Functions Documentation

ConstructL(const TDesC8 &, TInt &)

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

Second-phase constructor.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.
TInt & aPosThe position from which to start decoding.

DoConstructL(const TDesC8 &, TInt &)

voidDoConstructL(const TDesC8 &aBinaryData,
TInt &aPos
)[protected, virtual]

Decodes the binary representation of a sequence of UTF-8 strings. The strings are converted and stored internal as UTF-8.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation. This is the same as passed to ConstructL().
TInt & aPosThe position from which to start decoding. Note that the value passed points, in effect, to the content, bypassing the header data.

NewL(const TDesC8 &)

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

Creates a new CX509Utf8StringListExt object from the binary (DER) encoded representation of a sequence of integers.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.

NewLC(const TDesC8 &)

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

Creates a new CX509Utf8StringListExt object from the binary (DER) encoded representation of a sequence of integers, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.

StringArray()

IMPORT_C const RPointerArray< HBufC > &StringArray()const

Gets a reference to the array of decoded strings (UTF-16). Ownership is not transferred.

Member Data Documentation

RPointerArray< HBufC > iStringArray

RPointerArray< HBufC >iStringArray[private]

The decoded array of strings in UTF-16.