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.
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 () |
Private Member Functions | |
---|---|
CX509NameConstraintsExt () | |
void | AddSubtreesL ( CArrayPtrFlat < CX509GeneralSubtree > &, const TDesC8 &) |
void | DoConstructL (const TDesC8 &, TInt &) |
Private Attributes | |
---|---|
CArrayPtrFlat < CX509GeneralSubtree > * | iExcludedSubtrees |
CArrayPtrFlat < CX509GeneralSubtree > * | iPermittedSubtrees |
IMPORT_C | ~CX509NameConstraintsExt | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
void | AddSubtreesL | ( | CArrayPtrFlat < CX509GeneralSubtree > & | aSubtrees, |
const TDesC8 & | aBinaryData | |||
) | [private] |
CArrayPtrFlat < CX509GeneralSubtree > & aSubtrees | |
const TDesC8 & aBinaryData |
void | DoConstructL | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [private, virtual] |
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.
const TDesC8 & 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.
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.
const TDesC8 & 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.
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.
CArrayPtrFlat < CX509GeneralSubtree > * | iExcludedSubtrees | [private] |
CArrayPtrFlat < CX509GeneralSubtree > * | iPermittedSubtrees | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.