CX509NameConstraintsExt Class Reference

#include <x509certext.h>

Link against: x509.lib

class CX509NameConstraintsExt : public CX509ExtensionBase

Inherits from

Detailed Description

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.

Constructor & Destructor Documentation

~CX509NameConstraintsExt ( )

IMPORT_C~CX509NameConstraintsExt()

Destructor.

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

Member Function Documentation

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.

Return Value
The excluded subtrees.

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

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

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

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

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.

Return Value
The permitted subtrees.