Location:
x509certext.h
Link against: x509.lib
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.
CBase
- Base class for all classes to be instantiated on the heap
CX509ExtensionBase
- A certificate extension base class
CX509NameConstraintsExt
- An X.509 certificate extension that defines constraints on an entity's name
Defined in CX509NameConstraintsExt
:
DoConstructL()
, ExcludedSubtrees()
, NewL()
, NewL()
, NewLC()
, NewLC()
, PermittedSubtrees()
, ~CX509NameConstraintsExt()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CX509ExtensionBase
:
ConstructL()
static IMPORT_C CX509NameConstraintsExt *NewL(const TDesC8 &aBinaryData);
Creates a new CX509NameConstraintsExt object from the specified buffer containing the binary coded representation.
|
|
static IMPORT_C CX509NameConstraintsExt *NewLC(const TDesC8 &aBinaryData);
Creates a new CX509NameConstraintsExt object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
|
|
static IMPORT_C CX509NameConstraintsExt *NewL(const TDesC8 &aBinaryData, TInt &aPos);
Creates a new CX509NameConstraintsExt object from the specified buffer containing the binary coded representation, starting at the specified offset.
|
|
static IMPORT_C CX509NameConstraintsExt *NewLC(const TDesC8 &aBinaryData, TInt &aPos);
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.
|
|
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 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.
|
private: virtual void DoConstructL(const TDesC8 &aBinaryData, TInt &aPos);
Implementation for second-phase construction.
This is called by ConstructL()
.
|