Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509gn.h
Link against: x509.lib

Class CX509IPBasedURI

class CX509IPBasedURI : public CBase;

Description

A URI.

The class extracts a DNS name, i.e. the host part of the URI.

Note that it must be of 'ip-based' form (see RFC 1738 section 3.1) and contain a domain name (not an IP address).

Derivation

Members

Defined in CX509IPBasedURI:
Host(), Name(), NewL(), NewLC(), ~CX509IPBasedURI()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

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

Description

Creates an IP based URI name object from the specified buffer containing the binary coded representation.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509IPBasedURI *

The new URI name object.


NewLC()

static IMPORT_C CX509IPBasedURI *NewLC(const TDesC8 &aBinaryData);

Description

Creates a URI name object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the clean up stack.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509IPBasedURI *

The new URI name object.


~CX509IPBasedURI()

IMPORT_C ~CX509IPBasedURI();

Description

Destructor.

Frees all resources owned by the object, prior to its destruction.

[Top]


Member functions


Host()

IMPORT_C const CX509DNSName &Host() const;

Description

Gets the host part.

Return value

const CX509DNSName &

The host part.


Name()

IMPORT_C TPtrC Name() const;

Description

Gets the whole name.

Return value

TPtrC

A pointer descriptor representing the whole name.