CX509PolicyMappingExt Class Reference

class CX509PolicyMappingExt : public CX509ExtensionBase

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.

Since
v6.0

Inherits from

Constructor & Destructor Documentation

CX509PolicyMappingExt()

CX509PolicyMappingExt ( ) [private]

~CX509PolicyMappingExt()

~CX509PolicyMappingExt ( ) [virtual]

Destructor.

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

Member Functions Documentation

DoConstructL(const TDesC8 &, TInt &)

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

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.

Mappings()

IMPORT_C const CArrayPtrFlat < CX509PolicyMapping > & Mappings ( ) const

Gets a reference to the array of policy mappings.

NewL(const TDesC8 &)

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

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

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

NewL(const TDesC8 &, TInt &)

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

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.

NewLC(const TDesC8 &)

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

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.

NewLC(const TDesC8 &, TInt &)

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

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.

Member Data Documentation

CArrayPtrFlat< CX509PolicyMapping > * iPolicies

CArrayPtrFlat < CX509PolicyMapping > * iPolicies [private]