Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <X509gn.h>
Link against: x509.lib

Class CX509DNSName

class CX509DNSName : public CX509DNSNameSubtree;

Description

A Domain Name System (DNS) name.

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

Derivation

Members

Defined in CX509DNSName:

Inherited from CBase:

Inherited from CX509DNSNameSubtree:

Inherited from CX509DomainName:


Construction and destruction


NewL(const TDesC8 &)

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

Description

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509DNSName *

The new DNS name object.


NewLC(const TDesC8 &)

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509DNSName *

The new DSN name object.


NewL(const CX509DNSName &)

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


NewLC(const CX509DNSName &)

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


NewL(const TDesC &)

IMPORT_C static CX509DNSName* NewL(const TDesC &aNameString);

Description

Constructs a new DSN name object from a name string.

Parameters

const TDesC16 &aNameString

The name string.

Return value

CX509DNSName *

The new DSN name object.


NewLC(const TDesC &)

IMPORT_C 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 TDesC16 &aNameString

The name string.

Return value

CX509DNSName *

The new DSN name object.