CX509DNSNameSubtree Class Reference

#include <x509gn.h>

Link against: x509.lib

class CX509DNSNameSubtree : public CX509DomainName

Inherits from

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

Member Function Documentation

NewL ( const TDesC8 & )

IMPORT_C CX509DNSNameSubtree *NewL(const TDesC8 &aBinaryData)[static]

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
aBinaryDataThe encoded binary representation.
Return Value
The new DNS name object.

NewLC ( const TDesC8 & )

IMPORT_C CX509DNSNameSubtree *NewLC(const TDesC8 &aBinaryData)[static]

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
aBinaryDataThe encoded binary representation.
Return Value
The new DNS name object.

Rep ( )

IMPORT_C const RArray< TPtrC > &Rep()const

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

Return Value
The array of pointer descriptors.