class CX509GeneralName : public CBase |
Defines a general name.
The class contains a tag and a name whose form depends on the value of that tag.
When a General Name is included as part of a Name Constraints Extension, the values need not be complete names but may be simply subtrees.
For example, 'symbian.com' instead of mailto:john.doe@symbian.com '. Both names are valid subtrees but only the second is a valid RFC822 name.
Public Member Functions | |
---|---|
~CX509GeneralName () | |
IMPORT_C TPtrC8 | Data () |
IMPORT_C TBool | ExactMatch (const CX509GeneralName &) |
IMPORT_C CX509GeneralName * | NewL (const TDesC8 &) |
IMPORT_C CX509GeneralName * | NewL (const TDesC8 &, TInt &) |
IMPORT_C CX509GeneralName * | NewL (const CX509GeneralName &) |
IMPORT_C CX509GeneralName * | NewLC (const TDesC8 &) |
IMPORT_C CX509GeneralName * | NewLC (const TDesC8 &, TInt &) |
IMPORT_C CX509GeneralName * | NewLC (const CX509GeneralName &) |
IMPORT_C TGNType | Tag () |
Private Member Functions | |
---|---|
CX509GeneralName () | |
CX509GeneralName ( TGNType ) | |
void | ConstructL () |
void | ConstructL (const TDesC8 &, TInt &) |
void | ConstructL (const TDesC8 &) |
Private Attributes | |
---|---|
HBufC8 * | iData |
TGNType | iTag |
IMPORT_C | ~CX509GeneralName | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
void | ConstructL | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [private] |
void | ConstructL | ( | const TDesC8 & | aData | ) | [private] |
const TDesC8 & aData |
IMPORT_C TBool | ExactMatch | ( | const CX509GeneralName & | aName | ) | const |
Dummy Function which always returns EFalse.
const CX509GeneralName & aName | The general name object to be copied. |
IMPORT_C CX509GeneralName * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new general name object from the specified buffer containing the binary coded representation.
const TDesC8 & aBinaryData | The encoded binary representation. |
IMPORT_C CX509GeneralName * | NewL | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
Creates a new general name object from the specified buffer containing the binary coded representation,starting at the specified offset.
IMPORT_C CX509GeneralName * | NewL | ( | const CX509GeneralName & | aName | ) | [static] |
Creates a new general name object from an existing object.
This is equivalent to a copy constructor.
const CX509GeneralName & aName | The general name object to be copied. |
IMPORT_C CX509GeneralName * | NewLC | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new general name object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
Initialises the object from its encoded binary form into an internal representation.
const TDesC8 & aBinaryData | The encoded binary representation. |
IMPORT_C CX509GeneralName * | NewLC | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
Creates a new general name 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.
Initialises the object from its encoded binary form into an internal representation.
IMPORT_C CX509GeneralName * | NewLC | ( | const CX509GeneralName & | aName | ) | [static] |
Creates a new general name object from an existing object, and puts a pointer to it onto the cleanup stack.
This is equivalent to a copy constructor.
const CX509GeneralName & aName | The general name object to be copied. |
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.