#include <x509gn.h>
| class CX509DomainName : public CBase |
| Protected Attributes | |
|---|---|
| HBufC * | iName |
| RArray< TPtrC > | iRep |
| 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 &) |
| virtual TBool | IsValidChar(const TChar &) |
| virtual TBool | IsValidString(const TDesC &) |
An X.509 domain name.
Base class for email address and DNS names.
| IMPORT_C | ~CX509DomainName | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
Adds a subdomain separator after each subdomain entry in an array of pointer descriptors that represent the subdomains of the domain name.
| Parameter | Description |
|---|---|
| aPos | The position within the domain name. |
Returns: ETrue if the subdomain separator has been added; EFalse, otherwise.
| 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.doe@symbian.com' is within the subtree 'symbian.com' but is not within the subtree 'john' or 'symbian'.
| Parameter | Description |
|---|---|
| aName | The domain name. |
Returns: ETrue, if every sub domain in the specified domain name is the same as the corresponding sub domain in this object; EFalse, otherwise.
| IMPORT_C TPtrC | Name | ( | ) | const |
Gets the full domain name.
Returns: A pointer descriptor representing the full domain name.