Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509gn.h
Link against: x509.lib

Class CX509DNSNameSubtree

class CX509DNSNameSubtree : public CX509DomainName;

Description

A Domain Name System (DNS) name subtree.

Initialised with 8-bit encoded binary data, which is parsed into a series of sub domains.

Because it is a subtree it may start with a period. For example, '.symbian.com', indicating that 'symbian.com' does not lie within the subtree.

Derivation

Members

Defined in CX509DNSNameSubtree:
IsValidString(), NewL(), NewLC(), Rep()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CX509DomainName:
IsValidChar(), IsWithinSubtree(), Name(), iName, iRep


Construction and destruction


NewL()

static IMPORT_C CX509DNSNameSubtree *NewL(const TDesC8 &aBinaryData);

Description

Creates a DNS name object from the specified buffer containing the binary coded representation.

The data is parsed into a series of sub domains.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509DNSNameSubtree *

The new DNS name object.


NewLC()

static IMPORT_C CX509DNSNameSubtree *NewLC(const TDesC8 &aBinaryData);

Description

Creates a DNS name object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.

The data is parsed into a series of sub domains.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509DNSNameSubtree *

The new DNS name object.

[Top]


Member functions


Rep()

IMPORT_C const RArray< TPtrC > &Rep() const;

Description

Gets a reference to the array of pointer descriptors representing the subdomains of the DSN name.

Return value

const RArray< TPtrC > &

The array of pointer descriptors.


IsValidString()

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

Description

Validates a string.

Parameters

const TDesC &aStr

The string to be verified.

Return value

TBool

ETrue if the string is valid; EFalse, otherwise.