Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: x509certext.h
Link against: x509.lib

Class CX509PolicyConstraintsExt

class CX509PolicyConstraintsExt : public CX509ExtensionBase;

Description

Enables a Certification Authority to constrain the use of policies in two ways:

Derivation

Members

Defined in CX509PolicyConstraintsExt:
DoConstructL(), ExplicitPolicyRequired(), InhibitPolicyMapping(), NewL(), NewL(), NewLC(), NewLC(), ~CX509PolicyConstraintsExt()

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

Inherited from CX509ExtensionBase:
ConstructL()


Construction and destruction


NewL()

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

Description

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509PolicyConstraintsExt *

The new CX509PolicyConstraintsExt object.


NewLC()

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

Description

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.

Return value

CX509PolicyConstraintsExt *

The new CX509PolicyConstraintsExt object.


NewL()

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

Description

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.

Return value

CX509PolicyConstraintsExt *

The new CX509PolicyConstraintsExt object.


NewLC()

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

Description

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.

Return value

CX509PolicyConstraintsExt *

The new CX509PolicyConstraintsExt object.


~CX509PolicyConstraintsExt()

IMPORT_C ~CX509PolicyConstraintsExt();

Description

Destructor.

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

[Top]


Member functions


ExplicitPolicyRequired()

IMPORT_C TX509PolicyConstraint ExplicitPolicyRequired() const;

Description

Gets the explicit policy constraint.

Return value

TX509PolicyConstraint

The explicit policy constraint.


InhibitPolicyMapping()

IMPORT_C TX509PolicyConstraint InhibitPolicyMapping() const;

Description

Gets the inhibiting policy mapping.

Return value

TX509PolicyConstraint

The inhibiting policy mapping.


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.