class CX509DomainName : public CBase |
An X.509 domain name.
Base class for email address and DNS names.
Public Member Functions | |
---|---|
~CX509DomainName () | |
IMPORT_C TBool | IsWithinSubtree (const CX509DomainName &) |
IMPORT_C TPtrC | Name () |
Protected Member Functions | |
---|---|
CX509DomainName () | |
TBool | AddDomainL ( TInt &) |
TBool | AddSubdomainL ( TInt &) |
TBool | AddSubdomainSeparatorL ( TInt &) |
TBool | IsAlpha (const TChar &) |
TBool | IsAlphaOrNum (const TChar &) |
TBool | IsValidChar (const TChar &) |
TBool | IsValidString (const TDesC &) |
Protected Attributes | |
---|---|
HBufC * | iName |
RArray < TPtrC > | iRep |
IMPORT_C | ~CX509DomainName | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
TBool | AddDomainL | ( | TInt & | aPos | ) | [protected] |
Adds a domain by its subdomains to an array of pointer descriptors.
TInt & aPos | The position within the domain name. |
TBool | AddSubdomainL | ( | TInt & | aPos | ) | [protected] |
Adds a subdomain to an array of pointer descriptors.
TInt & aPos | The position within the domain name. |
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.
TInt & aPos | The position within the domain name. |
TBool | IsAlpha | ( | const TChar & | aChar | ) | const [protected] |
Tests whether the character is a letter.
const TChar & aChar | The character to be tested. |
TBool | IsAlphaOrNum | ( | const TChar & | aChar | ) | const [protected] |
Tests whether a character is a letter or a numeral.
const TChar & aChar | The character to be tested. |
TBool | IsValidChar | ( | const TChar & | aChar | ) | const [protected, virtual] |
Validates a character.
const TChar & aChar | The character to be validated. |
TBool | IsValidString | ( | const TDesC & | aStr | ) | const [protected, virtual] |
Validates a string.
const TDesC & aStr | The string to be verified. |
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'.
const CX509DomainName & aName | The domain name. |
RArray < TPtrC > | iRep | [protected] |
An array of pointer descriptors representing the subdomains of the DSN name.
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.