CX509PolicyConstraintsExt Class Reference

class CX509PolicyConstraintsExt : public CX509ExtensionBase
Enables a Certification Authority to constrain the use of policies in two ways:
  • to enforce the appearance of explicit certificate policies in subsequent certificates

  • to prevent policy mapping from being performed.

Since
v6.0

Inherits from

Constructor & Destructor Documentation

CX509PolicyConstraintsExt()

CX509PolicyConstraintsExt ( ) [private]

~CX509PolicyConstraintsExt()

IMPORT_C ~CX509PolicyConstraintsExt ( )

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.

ExplicitPolicyRequired()

IMPORT_C TX509PolicyConstraint ExplicitPolicyRequired ( ) const

Gets the explicit policy constraint.

InhibitPolicyMapping()

IMPORT_C TX509PolicyConstraint InhibitPolicyMapping ( ) const

Gets the inhibiting policy mapping.

NewL(const TDesC8 &)

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

Creates a new CX509PolicyConstraintsExt object from the specified buffer containing the encoded binary representation.

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

NewL(const TDesC8 &, TInt &)

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

Creates a new CX509PolicyConstraintsExt object from the specified buffer containing the encoded binary 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 CX509PolicyConstraintsExt * NewLC ( const TDesC8 & aBinaryData ) [static]

Creates a new Policy constraints extension object from the specified buffer containing the encoded binary 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 CX509PolicyConstraintsExt * NewLC ( const TDesC8 & aBinaryData,
TInt & aPos
) [static]

Creates a new CX509PolicyConstraintsExt object from the specified buffer containing the encoded binary representation, 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

TX509PolicyConstraint iInhibitPolicyMapping

TX509PolicyConstraint iInhibitPolicyMapping [private]

TX509PolicyConstraint iRequirePolicy

TX509PolicyConstraint iRequirePolicy [private]