wtlsnames.h File Reference

Detailed Description

This file contains the definition for class CWTLSName.

enum { null(0), text(1), binary(2), key_hash_sha(254), x509_name(255)} IdentifierType;

We only support text and x509_name as these are the only meaningful identifiers.. x509_name is X.500 Distinguished Name, and should use our existing X.500 DN implementation.

struct { IdentifierType identifier_type; select (identifier_type) { case null: struct {}; case text: CharacterSet character_set; opaque name<1.. 2^8-1>; case binary: opaque identifier<1..2^8-1>; case key_hash_sha: opaque key_hash[20]; case x509_name: opaque distinguished_name<1..2^8-1>; } Identifier;

uint16 CharacterSet;

This maps on to one of the IANA defined character sets. There are rather a lot of these. We just support the text type, with either Latin1 or UTF8 encoding.

Enum anonymous

Enumerates the types of WTLS certificate name forms/identifiers.

Only text strings and X.500 Distinguished Names are currently supported.

EnumeratorValueDescription
EWTLSNull0x00
EWTLSText0x01
EWTLSBinary0x02
EWTLSKeyHashSha0xfe
EWTLSX500DN0xff

Typedef TWTLSNameType

typedef TUint8 TWTLSNameType

Typedef TWTLSCharSet

typedef TInt TWTLSCharSet

KWTLSLatin1CharSet

const TIntKWTLSLatin1CharSet

MIBenum constant for the Latin1 IANA character set

KWTLSUTF8CharSet

const TIntKWTLSUTF8CharSet

MIBenum constant for the UTF-8 IANA character set

KWTLSCountryName

const TLitC< sizeof(L"C")/2 >KWTLSCountryName[static]

KWTLSOrganizationName

const TLitC< sizeof(L"O")/2 >KWTLSOrganizationName[static]

KWTLSServiceName

const TLitC< sizeof(L"OU")/2 >KWTLSServiceName[static]

KWTLSTitle

const TLitC< sizeof(L"T")/2 >KWTLSTitle[static]

KWTLSCommonName

const TLitC< sizeof(L"CN")/2 >KWTLSCommonName[static]