#include <x509certext.h>
Link against: x509.lib
class CX509NameConstraintsExt : public CX509ExtensionBase |
Public Member Functions | |
---|---|
~CX509NameConstraintsExt() | |
IMPORT_C const CArrayPtrFlat< CX509GeneralSubtree > & | ExcludedSubtrees() |
IMPORT_C CX509NameConstraintsExt * | NewL(const TDesC8 &) |
IMPORT_C CX509NameConstraintsExt * | NewL(const TDesC8 &, TInt &) |
IMPORT_C CX509NameConstraintsExt * | NewLC(const TDesC8 &) |
IMPORT_C CX509NameConstraintsExt * | NewLC(const TDesC8 &, TInt &) |
IMPORT_C const CArrayPtrFlat< CX509GeneralSubtree > & | PermittedSubtrees() |
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.
IMPORT_C | ~CX509NameConstraintsExt | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
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.
IMPORT_C CX509NameConstraintsExt * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509NameConstraintsExt object from the specified buffer containing the binary coded representation.
Parameters | |
---|---|
aBinaryData | The encoded binary representation. |
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 | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
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 | |
---|---|
aBinaryData | The encoded binary representation. |
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 | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
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.