#include <wtlsnames.h>
Link against: wtlscert.lib
class CWTLSText : public CBase |
Protected Attributes | |
---|---|
HBufC * | iName |
Public Member Functions | |
---|---|
~CWTLSText() | |
IMPORT_C TWTLSCharSet | CharacterSet() |
IMPORT_C TBool | ExactMatchL(const CWTLSText &) |
IMPORT_C TPtrC | Name() |
IMPORT_C CWTLSText * | NewL(const TDesC8 &) |
IMPORT_C CWTLSText * | NewL(const TDesC8 &, TInt &) |
IMPORT_C CWTLSText * | NewLC(const TDesC8 &) |
IMPORT_C CWTLSText * | NewLC(const TDesC8 &, TInt &) |
Protected Member Functions | |
---|---|
CWTLSText() | |
void | ConstructL(const TDesC8 &, TInt &) |
HBufC * | iName | [protected] |
CWTLSText | ( | ) | [protected] |
IMPORT_C | ~CWTLSText | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C TWTLSCharSet | CharacterSet | ( | ) | const |
Gets the character set of the CWTLSText object.
Performs a simple byte compare between this CWTLSText object and a specified CWTLSText object.
There is a subtle difference between this byte-match and CWTLSName::ExactMatchL(). As opposed to the latter, this function should successfully match two names that are the same that were encoded using different character sets.
Parameters | |
---|---|
aName | An existing CWTLSText object. |
Creates a new CWTLSText object from the specified buffer containing the binary coded representation, starting at the specified offset.
Parameters | |
---|---|
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. |
Creates a new CWTLSText object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
Parameters | |
---|---|
aBinaryData | The encoded binary representation. |
Creates a new CWTLSText 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.
Parameters | |
---|---|
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. |