CX509PolicyConstraintsExt Class Reference

#include <x509certext.h>

Link against: x509.lib

class CX509PolicyConstraintsExt : public CX509ExtensionBase

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

~CX509PolicyConstraintsExt ( )

IMPORT_C~CX509PolicyConstraintsExt()

Destructor.

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

Member Function Documentation

ExplicitPolicyRequired ( )

IMPORT_C TX509PolicyConstraintExplicitPolicyRequired()const

Gets the explicit policy constraint.

Returns: The explicit policy constraint.

InhibitPolicyMapping ( )

IMPORT_C TX509PolicyConstraintInhibitPolicyMapping()const

Gets the inhibiting policy mapping.

Returns: 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.

ParameterDescription
aBinaryDataThe encoded binary representation.

Returns: The new CX509PolicyConstraintsExt object.

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.

ParameterDescription
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.

Returns: The new CX509PolicyConstraintsExt object.

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.

ParameterDescription
aBinaryDataThe encoded binary representation.

Returns: The new CX509PolicyConstraintsExt object.

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.

ParameterDescription
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.

Returns: The new CX509PolicyConstraintsExt object.