CX509DNSName Class Reference

#include <x509gn.h>

Link against: x509.lib

class CX509DNSName : public CX509DNSNameSubtree

Inherits from

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.

ParameterDescription
aBinaryDataThe encoded binary representation.

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

ParameterDescription
aNameThe DSN name object to be copied.

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

ParameterDescription
aNameStringThe name string.

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

ParameterDescription
aBinaryDataThe encoded binary representation.

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

ParameterDescription
aNameThe DNS name object to be copied.

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

ParameterDescription
aNameStringThe name string.

Returns: The new DSN name object.