Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <X509gn.h>
Link against: x509.lib

Class CX509DomainName

class CX509DomainName : public CBase;

Description

An X.509 domain name.

Base class for email address and DNS names.

Derivation

Members

Defined in CX509DomainName:

Inherited from CBase:


Construction and destruction


~CX509DomainName()

IMPORT_C ~CX509DomainName();

Description

Destructor.

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

[Top]


Member functions


IsWithinSubtree(const CX509DomainName &)const

IMPORT_C 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[email protected]' 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

ETrue, if every sub domain in the specified domain name is the same as the corresponding sub domain in this object; EFalse, otherwise.


Name()const

IMPORT_C TPtrC Name() const;

Description

Gets the full domain name.

Return value

TPtrC16

A pointer descriptor representing the full domain name.


IsValidString(const TDesC &)const

protected: virtual TBool IsValidString(const TDesC &aStr) const;

Description

Validates a string.

Parameters

const TDesC16 &aStr

The string to be verified.

Return value

TBool

ETrue if the string is valid; EFalse, otherwise.


IsValidChar(const TChar &)const

protected: virtual TBool IsValidChar(const TChar &aChar) const;

Description

Validates a character.

Parameters

const TChar &aChar

The character to be validated.

Return value

TBool

ETrue if the character is valid; EFalse, otherwise.

[Top]


Member data


iRep

protected: RArray< TPtrC > iRep;

Description

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


iName

protected: HBufC * iName;

Description

A heap descriptor representing the full domain name.