CX509BasicConstraintsExt Class Reference

class CX509BasicConstraintsExt : public CX509ExtensionBase

An X.509 certificate extension that defines basic constraints.

It indicates whether the certificate belongs to a Certificate Authority or an end Entity.

Since
v6.0

Inherits from

Constructor & Destructor Documentation

CX509BasicConstraintsExt()

CX509BasicConstraintsExt ( ) [private]

~CX509BasicConstraintsExt()

~CX509BasicConstraintsExt ( ) [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.

IsCA()

IMPORT_C TBool IsCA ( ) const

Tests whether the certificate belongs to a Certificate Authority.

MaxChainLength()

IMPORT_C TInt MaxChainLength ( ) const

Gets the maximum number of certificates that can follow this one in the chain.

NewL(const TDesC8 &)

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

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

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

NewL(const TDesC8 &, TInt &)

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

Creates a new CX509BasicConstraintsExt 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 CX509BasicConstraintsExt * NewLC ( const TDesC8 & aBinaryData ) [static]

Creates a new CX509BasicConstraintsExt 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 CX509BasicConstraintsExt * NewLC ( const TDesC8 & aBinaryData,
TInt & aPos
) [static]

Creates a new CX509BasicConstraintsExt 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

TBool iIsCA

TBool iIsCA [private]

TInt iMaxChainLen

TInt iMaxChainLen [private]