Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: x509certext.h
Link against: x509.lib

Class CX509AltNameExt

CX509AltNameExt

Support

Supported from 6.0

Description

A 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.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CX509AltNameExtA X.509 certificate extension that defines an alternate name
CX509ExtensionBaseThis class is internal and not intended for use

Defined in CX509AltNameExt:
AltName(), Match(), NewL(), NewL(), NewLC(), NewLC(), ~CX509AltNameExt()

Inherited from CBase:
operator new()

Inherited from CX509ExtensionBase:
ConstructL(), DoConstructL()


Construction and destruction


NewL()

static CX509AltNameExt* NewL(const TDesC8& aBinaryData);

Description

Creates a new alternate name certificate extension object from the specified buffer containing the binary coded representation.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509AltNameExt*

The new alternate name certificate extension object.


NewL()

static CX509AltNameExt* NewL(const TDesC8& aBinaryData, TInt& aPos);

Description

Creates a new alternate name certificate extension object from the specified buffer containing the binary coded representation, starting at the specified offset.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

const TInt& aPos

The offset position from which to start decoding.

Return value

CX509AltNameExt*

The new alternate name certificate extension object.


NewLC()

static CX509AltNameExt* NewLC(const TDesC8& aBinaryData);

Description

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

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509AltNameExt*

The new alternate name certificate extension object.


NewLC()

static CX509AltNameExt* NewLC(const TDesC8& aBinaryData, TInt& aPos);

Description

Creates a new alternate name certificate extension 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& aBinaryData

The encoded binary representation.

const TInt& aPos

The offset position from which to start decoding.

Return value

CX509AltNameExt*

The new alternate name certificate extension object.


~CX509AltNameExt()

~CX509AltNameExt();

Description

Destructor.

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

[Top]


Member functions


AltName()

const CArrayPtrFlat<CX509GeneralName>& AltName() const;

Description

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

Return value

CArrayPtrFlatCX509GeneralName&

The array of general names.


Match()

TBool Match(const CX509AltNameExt& aExt) const;

Description

This function is not fully implemented and always returns false.