#include <wtlsnames.h>
class CWTLSName : public CBase |
Public Member Functions | |
---|---|
~CWTLSName() | |
IMPORT_C HBufC * | DisplayNameL() |
IMPORT_C TBool | ExactMatchL(const CWTLSName &) |
IMPORT_C TPtrC8 | NameData() |
IMPORT_C TWTLSNameType | NameType() |
IMPORT_C CWTLSName * | NewL(const TDesC8 &) |
IMPORT_C CWTLSName * | NewL(const TDesC8 &, TInt &) |
IMPORT_C CWTLSName * | NewL(const CWTLSName &) |
IMPORT_C CWTLSName * | NewLC(const TDesC8 &) |
IMPORT_C CWTLSName * | NewLC(const TDesC8 &, TInt &) |
IMPORT_C CWTLSName * | NewLC(const CWTLSName &) |
Stores the type of a WTLS name and the underlying encoding of the type.
IMPORT_C | ~CWTLSName | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C HBufC * | DisplayNameL | ( | ) | const |
Gets the decoded value for the common or organisation name.
Provides the functionality required by the CCertificate::IssuerL() and SubjectL() functions.
Returns: A heap descriptor containing the decoded value of the common or organisation name.
Performs a simple byte compare between this WTLS name and a specified WTLS name.
Needed for the constructing/validating of certificate chains.
Parameter | Description |
---|---|
aName | An existing CWTLSName object. |
Returns: ETrue, if the WTLS names match; EFalse, otherwise.
IMPORT_C TPtrC8 | NameData | ( | ) | const |
Gets the encoding of the underlying type of WTLS name.
Returns: Pointer descriptor representing the encoding of the WTLS name type.
IMPORT_C TWTLSNameType | NameType | ( | ) | const |
Gets the type of the WTLS name.
Returns: Type of WTLS name form.
Creates a new CWTLSName object from the specified buffer containing the binary coded representation, starting at the specified offset.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object. |
Returns: The new CWTLSName object.
Creates a new CWTLSName object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new CWTLSName object.
Creates a new CWTLSName 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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object. |
Returns: The new CWTLSName object.