CX509AltNameExt Class Reference

class CX509AltNameExt : public CX509ExtensionBase

An X.509 certificate extension that defines an alternate name.

It appears as an Issuer Alt Name extension or a Subject Alt Name extension and is used to contain extra identifying information that will not fit into a Distinguished Name.

It consists of an array of X.509 General Names.

Since
v6.0

Inherits from

Constructor & Destructor Documentation

CX509AltNameExt()

CX509AltNameExt()[private]

~CX509AltNameExt()

~CX509AltNameExt()[virtual]

Destructor.

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

Member Functions Documentation

AltName()

IMPORT_C const CArrayPtrFlat< CX509GeneralName > &AltName()const

Gets a reference to the array of general names that forms the alternate name extension.

DoConstructL(const TDesC8 &, TInt &)

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

Implementation for second-phase construction.

This is called by ConstructL().

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, by passing the header data.

Match(const CX509AltNameExt &)

IMPORT_C TBoolMatch(const CX509AltNameExt &aExt)const

Checks whether the corressponding elements of two equally sized arrays of X.509 general names match.

Parameters

const CX509AltNameExt & aExtAn X.509 certificate extension object that defines an alternate name.

NewL(const TDesC8 &)

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

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

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.

NewL(const TDesC8 &, TInt &)

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

Creates a new CX509AltNameExt 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.

NewLC(const TDesC8 &)

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

Creates a new CX509AltNameExt 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 CX509AltNameExt *NewLC(const TDesC8 &aBinaryData,
TInt &aPos
)[static]

Creates a new CX509AltNameExt 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.

Member Data Documentation

CArrayPtrFlat< CX509GeneralName > * iAuthorityName

CArrayPtrFlat< CX509GeneralName > *iAuthorityName[private]