CX509NameConstraintsExt Class Reference

class CX509NameConstraintsExt : public CX509ExtensionBase

An X.509 certificate extension that defines constraints on an entity's name.

This extension allows Certification Authorities to restrict or prevent the issuing of certificates to entities whose names lie within a defined name space.

Inherits from

Constructor & Destructor Documentation

CX509NameConstraintsExt()

CX509NameConstraintsExt ( ) [private]

~CX509NameConstraintsExt()

IMPORT_C ~CX509NameConstraintsExt ( )

Destructor.

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

Member Functions Documentation

AddSubtreesL(CArrayPtrFlat< CX509GeneralSubtree > &, const TDesC8 &)

void AddSubtreesL ( CArrayPtrFlat < CX509GeneralSubtree > & aSubtrees,
const TDesC8 & aBinaryData
) [private]

Parameters

CArrayPtrFlat < CX509GeneralSubtree > & aSubtrees
const TDesC8 & aBinaryData

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.

ExcludedSubtrees()

IMPORT_C const CArrayPtrFlat < CX509GeneralSubtree > & ExcludedSubtrees ( ) const

Gets a reference to the array of exclusion subtree names.

No certificates after this one may contain names within the subtrees specified.

NewL(const TDesC8 &)

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

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

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

NewL(const TDesC8 &, TInt &)

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

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

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

Creates a new CX509NameConstraintsExt 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.

PermittedSubtrees()

IMPORT_C const CArrayPtrFlat < CX509GeneralSubtree > & PermittedSubtrees ( ) const

Gets a reference to the array of permitted subtree names.

All certificates after this one must contain names within the subtrees specified.

Member Data Documentation

CArrayPtrFlat< CX509GeneralSubtree > * iExcludedSubtrees

CArrayPtrFlat < CX509GeneralSubtree > * iExcludedSubtrees [private]

CArrayPtrFlat< CX509GeneralSubtree > * iPermittedSubtrees

CArrayPtrFlat < CX509GeneralSubtree > * iPermittedSubtrees [private]