#include <wtlsnames.h>
Link against: wtlscert.lib
| 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.
Performs a simple byte compare between this WTLS name and a specified WTLS name.
Needed for the constructing/validating of certificate chains.
| Parameters | |
|---|---|
| aName | An existing CWTLSName object. |
| IMPORT_C TPtrC8 | NameData | ( | ) | const |
Gets the encoding of the underlying type of WTLS name.
| IMPORT_C TWTLSNameType | NameType | ( | ) | const |
Gets the type of the WTLS name.
Creates a new CWTLSName 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 CWTLSName 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 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.
| 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. |