Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CBase:

Inherited from CX509DomainName:


Construction and destruction


NewL(const TDesC8 &)

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509DNSNameSubtree *

The new DNS name object.


NewLC(const TDesC8 &)

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509DNSNameSubtree *

The new DNS name object.

[Top]


Member functions


Rep()const

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< TPtrC16 > &

The array of pointer descriptors.


IsValidString(const TDesC &)const

private: 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.