CX509DNSName Class Reference

#include <x509gn.h>

Link against: x509.lib

class CX509DNSName : public CX509DNSNameSubtree

Detailed Description

A Domain Name System (DNS) name.

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

Member Function Documentation

NewL ( const TDesC8 & )

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

Reimplemented from CX509DNSNameSubtree::NewL(const TDesC8 &)

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

Parameters
aBinaryDataThe encoded binary representation.
Return Value
The new DNS name object.

NewL ( const CX509DNSName & )

IMPORT_C CX509DNSName *NewL(const CX509DNSName &aName)[static]

Creates a new DSN name object from an existing object.

This is equivalent to a copy constructor.

Parameters
aNameThe DSN name object to be copied.
Return Value
The DSN name object.

NewL ( const TDesC & )

IMPORT_C CX509DNSName *NewL(const TDesC &aNameString)[static]

Constructs a new DSN name object from a name string.

Parameters
aNameStringThe name string.
Return Value
The new DSN name object.

NewLC ( const TDesC8 & )

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

Reimplemented from CX509DNSNameSubtree::NewLC(const TDesC8 &)

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

NewLC ( const CX509DNSName & )

IMPORT_C CX509DNSName *NewLC(const CX509DNSName &aName)[static]

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
aNameThe DNS name object to be copied.
Return Value
The new DSN name object.

NewLC ( const TDesC & )

IMPORT_C CX509DNSName *NewLC(const TDesC &aNameString)[static]

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

Parameters
aNameStringThe name string.
Return Value
The new DSN name object.