class CWTLSName : public CBase |
Stores the type of a WTLS name and the underlying encoding of the type.
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 &) |
Private Member Functions | |
---|---|
CWTLSName() | |
void | AllocNameDataL(const TDesC8 &, TInt &) |
void | AllocTextDataL(const TDesC8 &, TInt &) |
void | ConstructL(const TDesC8 &, TInt &) |
void | ConstructL(const CWTLSName &) |
Private Attributes | |
---|---|
HBufC8 * | iNameData |
TWTLSNameType | iNameType |
IMPORT_C | ~CWTLSName | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
void | AllocNameDataL | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [private] |
void | AllocTextDataL | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [private] |
void | ConstructL | ( | const CWTLSName & | aName | ) | [private] |
const CWTLSName & aName |
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.
A heap descriptor containing the decoded value of the common or organisation name.
IMPORT_C TBool | ExactMatchL | ( | const CWTLSName & | aName | ) | const |
Performs a simple byte compare between this WTLS name and a specified WTLS name.
Needed for the constructing/validating of certificate chains.
ETrue, if the WTLS names match; EFalse, otherwise.
const CWTLSName & aName | An existing CWTLSName object. |
IMPORT_C TPtrC8 | NameData | ( | ) | const |
Gets the encoding of the underlying type of WTLS name.
Pointer descriptor representing the encoding of the WTLS name type.
IMPORT_C TWTLSNameType | NameType | ( | ) | const |
Gets the type of the WTLS name.
Type of WTLS name form.
IMPORT_C CWTLSName * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
const TDesC8 & aBinaryData | The encoded binary representation. |
IMPORT_C CWTLSName * | NewL | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
IMPORT_C CWTLSName * | NewL | ( | const CWTLSName & | aName | ) | [static] |
const CWTLSName & aName | An existing CWTLSName object. |
IMPORT_C CWTLSName * | NewLC | ( | const TDesC8 & | aBinaryData | ) | [static] |
const TDesC8 & aBinaryData | The encoded binary representation. |
IMPORT_C CWTLSName * | NewLC | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
IMPORT_C CWTLSName * | NewLC | ( | const CWTLSName & | aName | ) | [static] |
const CWTLSName & aName | An existing CWTLSName object. |