Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: x509gn.h
Link against: x509.lib

Class CX509DomainName

CX509DomainName

Support

Supported from 6.0

Description

Domain name.

Base class for email address and DNS names.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CX509DomainNameDomain name

Defined in CX509DomainName:
IsWithinSubtree(), Name(), ~CX509DomainName()

Inherited from CBase:
operator new()


Destruction


~CX509DomainName()

~CX509DomainName();

Description

Destructor.

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

[Top]


Member functions


IsWithinSubtree()

TBool IsWithinSubtree(const CX509DomainName& aName) const;

Description

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'.

Parameters

const CX509DomainName& aName

The domain name.

Return value

TBool

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


Name()

TPtrC Name() const;

Description

Gets the full domain name.

Return value

TPtrC

A pointer descriptor representing the full domain name.