Symbian
 Developer Library

DEVELOPER LIBRARY

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



Location: x509gn.h
Link against: x509.lib

Class CX509DNSName

CX509DNSName

Support

Supported from 6.0

Description

A DNS name.

The name must begin with a valid sub domain and not a period.

Derivation

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

Defined in CX509DNSName:
NewL(), NewL(), NewL(), NewLC(), NewLC(), NewLC()

Inherited from CBase:
operator new()

Inherited from CX509DNSNameSubtree:
Rep()

Inherited from CX509DomainName:
IsWithinSubtree(), Name()


Construction


NewL()

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

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509DNSName*

The new DNS name object.


NewL()

static CX509DNSName* NewL(const CX509DNSName& aName);

Description

Creates a new DSN name object from an existing object.

This is equivalent to a copy constructor.

Parameters

const CX509DNSName& aName

The DSN name object to be copied.

Return value

CX509DNSName*

The DSN name object.


NewL()

static CX509DNSName* NewL(const TDesC& aNameString);

Description

Constructs a new DSN name object from a name string.

Parameters

const TDesC& aNameString

The name string.

Return value

CX509DNSName*

The new DSN name object.


NewLC()

static CX509DNSName* 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

CX509DNSName*

The new DSN name object.


NewLC()

static CX509DNSName* NewLC(const CX509DNSName& aName);

Description

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

This is equivalent to a copy constructor.

Parameters

const CX509DNSName& aName

The DNS name object to be copied.

Return value

CX509DNSName*

The new DSN name object.


NewLC()

static CX509DNSName* NewLC(const TDesC& aNameString);

Description

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

Parameters

const TDesC& aNameString

The name string.

Return value

CX509DNSName*

The new DSN name object.