Symbian
 Developer Library

DEVELOPER LIBRARY

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



Location: x509certext.h
Link against: x509.lib

Class CX509PolicyMappingExt

CX509PolicyMappingExt

Support

Supported from 6.0

Description

A 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

CBaseBase class for all classes to be instantiated on the heap
CX509ExtensionBaseThis class is internal and not intended for use
CX509PolicyMappingExtA X.509 certificate extension that contains a set of policy mappings

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

Inherited from CBase:
operator new()

Inherited from CX509ExtensionBase:
ConstructL(), DoConstructL()


Construction and destruction


NewL()

static CX509PolicyMappingExt* NewL(const TDesC8& aBinaryData);

Description

Creates a new policy mapping extension object from the specified buffer containing the binary coded representation.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509PolicyMappingExt*

The new policy mapping extension object.


NewL()

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

Description

Creates a new policy mapping 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

CX509PolicyMappingExt*

The new policy mapping extension object.


NewLC()

static CX509PolicyMappingExt* NewLC(const TDesC8& aBinaryData);

Description

Creates a new policy mapping 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

CX509PolicyMappingExt*

The new policy mapping extension object.


NewLC()

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

Description

Creates a new policy mapping 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

CX509PolicyMappingExt*

The new policy mapping extension object.


~CX509PolicyMappingExt()

~CX509PolicyMappingExt();

Description

Destructor.

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

[Top]


Member function


Mappings()

const CArrayPtrFlat<CX509PolicyMapping>& Mappings() const;

Description

Gets a reference to the array of policy mappings.

Return value

CArrayPtrFlatCX509PolicyMapping&

The array of policy mappings.