CX509BasicConstraintsExt Class Reference

#include <x509certext.h>

Link against: x509.lib

class CX509BasicConstraintsExt : public CX509ExtensionBase

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

~CX509BasicConstraintsExt ( )

~CX509BasicConstraintsExt()[virtual]

Destructor.

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

Member Function Documentation

IsCA ( )

IMPORT_C TBoolIsCA()const

Tests whether the certificate belongs to a Certificate Authority.

Return Value
ETrue, if the certificate belongs to a Certificate Authority; EFalse, otherwise.

MaxChainLength ( )

IMPORT_C TIntMaxChainLength()const

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

Return Value
The number of certificates.

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
aBinaryDataThe encoded binary representation.
Return Value
The new CX509BasicConstraintsExt object.

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
The new CX509BasicConstraintsExt object.

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
aBinaryDataThe encoded binary representation.
Return Value
The new CX509BasicConstraintsExt object.

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
The new CX509BasicConstraintsExt object.