CX509DomainName Class Reference

class CX509DomainName : public CBase

An X.509 domain name.

Base class for email address and DNS names.

Since
v6.0

Inherits from

Constructor & Destructor Documentation

CX509DomainName()

CX509DomainName ( ) [protected]

Default constructor.

~CX509DomainName()

IMPORT_C ~CX509DomainName ( )

Destructor.

Frees all resources owned by the object, prior to its destruction.

Member Functions Documentation

AddDomainL(TInt &)

TBool AddDomainL ( TInt & aPos ) [protected]

Adds a domain by its subdomains to an array of pointer descriptors.

Parameters

TInt & aPos The position within the domain name.

AddSubdomainL(TInt &)

TBool AddSubdomainL ( TInt & aPos ) [protected]

Adds a subdomain to an array of pointer descriptors.

Parameters

TInt & aPos The position within the domain name.

AddSubdomainSeparatorL(TInt &)

TBool AddSubdomainSeparatorL ( TInt & aPos ) [protected]

Adds a subdomain separator after each subdomain entry in an array of pointer descriptors that represent the subdomains of the domain name.

Parameters

TInt & aPos The position within the domain name.

IsAlpha(const TChar &)

TBool IsAlpha ( const TChar & aChar ) const [protected]

Tests whether the character is a letter.

Parameters

const TChar & aChar The character to be tested.

IsAlphaOrNum(const TChar &)

TBool IsAlphaOrNum ( const TChar & aChar ) const [protected]

Tests whether a character is a letter or a numeral.

Parameters

const TChar & aChar The character to be tested.

IsValidChar(const TChar &)

TBool IsValidChar ( const TChar & aChar ) const [protected, virtual]

Validates a character.

Parameters

const TChar & aChar The character to be validated.

IsValidString(const TDesC &)

TBool IsValidString ( const TDesC & aStr ) const [protected, virtual]

Validates a string.

Parameters

const TDesC & aStr The string to be verified.

IsWithinSubtree(const CX509DomainName &)

IMPORT_C TBool IsWithinSubtree ( const CX509DomainName & aName ) const

Tests whether every sub domain in the specified domain name is the same as the corresponding sub domain in this object, starting at the end.

For example, 'john mailto:.doe@symbian.com ' is within the subtree 'symbian.com' but is not within the subtree 'john' or 'symbian'.

Parameters

const CX509DomainName & aName The domain name.

Name()

IMPORT_C TPtrC Name ( ) const

Gets the full domain name.

Member Data Documentation

HBufC * iName

HBufC * iName [protected]

A heap descriptor representing the full domain name.

RArray< TPtrC > iRep

RArray < TPtrC > iRep [protected]

An array of pointer descriptors representing the subdomains of the DSN name.