Symbian
 Developer Library

DEVELOPER LIBRARY

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



Location: x509gn.h
Link against: x509.lib

Class CX509DNSNameSubtree

CX509DNSNameSubtree

Support

Supported from 6.0

Description

A DNS name.

The name may begin with a period.

Initialised with 8-bit encoded binary data, and parses the data 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

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

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

Inherited from CBase:
operator new()

Inherited from CX509DomainName:
IsWithinSubtree(), Name()


Construction


NewL()

static 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. Note that the name may start with a valid sub domain.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509DNSNameSubtree*

The new DNS name object.


NewL()

static CX509DNSNameSubtree* NewL(const CX509DNSNameSubtree& aName);

Description

Creates a new DSN name object from an existing object.

This is equivalent to a copy constructor.

Parameters

const CX509DNSNameSubtree& aName

The DSN name object to be copied.

Return value

CX509DNSNameSubtree*

The new DSN name object.


NewLC()

static 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; the name may start with a period.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509DNSNameSubtree*

The new DNS name object.


NewLC()

static CX509DNSNameSubtree* NewLC(const CX509DNSNameSubtree& aName);

Description

Creates a new DSN name object from an existing object, and puts a pointer to it onto the cleanup stack.

This is equivalent to a copy constructor.

Parameters

const CX509DNSNameSubtree& aName

The DSN name object to be copied.

Return value

CX509DNSNameSubtree*

The new DSN name object.

[Top]


Member function


Rep()

const CPtrCArray& Rep() const;

Description

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

Return value

CPtrCArray&

The array of pointer descriptors.