Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509certext.h
Link against: x509.lib

Class CX509PolicyMappingExt

class CX509PolicyMappingExt : public CX509ExtensionBase;

Description

An X.509 certificate extension that contains a set of policy mappings.

A policy mapping allows a Certification Authority to declare that two certificate policies are equivalent.

Derivation

Members

Defined in CX509PolicyMappingExt:
DoConstructL(), Mappings(), NewL(), NewL(), NewLC(), NewLC()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CX509ExtensionBase:
ConstructL()


Construction and destruction


NewL()

static IMPORT_C CX509PolicyMappingExt *NewL(const TDesC8 &aBinaryData);

Description

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509PolicyMappingExt *

The new CX509PolicyMappingExt object.


NewLC()

static IMPORT_C CX509PolicyMappingExt *NewLC(const TDesC8 &aBinaryData);

Description

Creates a new CX509PolicyMappingExt 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

CX509PolicyMappingExt *

The new CX509PolicyMappingExt object.


NewL()

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

Description

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

TInt &aPos

The offset position from which to start decoding.

Return value

CX509PolicyMappingExt *

The new CX509PolicyMappingExt object.


NewLC()

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

Description

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

TInt &aPos

The offset position from which to start decoding.

Return value

CX509PolicyMappingExt *

The new CX509PolicyMappingExt object.

[Top]


Member functions


Mappings()

IMPORT_C const CArrayPtrFlat< CX509PolicyMapping > &Mappings() const;

Description

Gets a reference to the array of policy mappings.

Return value

const CArrayPtrFlat< CX509PolicyMapping > &

The array of policy mappings.


DoConstructL()

private: virtual void DoConstructL(const TDesC8 &aBinaryData, TInt &aPos);

Description

Implementation for second-phase construction.

This is called by ConstructL().

Parameters

const TDesC8 &aBinaryData

The encoded binary representation. This is the same as passed to ConstructL().

TInt &aPos

The position from which to start decoding. Note that the value passed points, in effect, to the content, by passing the header data.