| 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 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.
| 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.
| const CWTLSName & aName | An existing CWTLSName object. |
| IMPORT_C TPtrC8 | NameData | ( | ) | const |
Gets the encoding of the underlying type of WTLS name.
| IMPORT_C CWTLSName * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CWTLSName object from the specified buffer containing the binary coded representation.
| const TDesC8 & aBinaryData | The encoded binary representation. |
| IMPORT_C CWTLSName * | NewL | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos | |||
| ) | [static] | |||
Creates a new CWTLSName object from the specified buffer containing the binary coded representation, starting at the specified offset.
| IMPORT_C CWTLSName * | NewL | ( | const CWTLSName & | aName | ) | [static] |
Creates a new CWTLSName object from an existing one.
| const CWTLSName & aName | An existing CWTLSName object. |
| IMPORT_C CWTLSName * | NewLC | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CWTLSName 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 CWTLSName * | NewLC | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos | |||
| ) | [static] | |||
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.
| IMPORT_C CWTLSName * | NewLC | ( | const CWTLSName & | aName | ) | [static] |
Creates a new CWTLSName object from an existing one, and puts a pointer to it onto the cleanup stack.
| const CWTLSName & aName | An existing CWTLSName object. |
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.