Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CBase:


Construction and destruction


NewL(const TDesC8 &)

IMPORT_C static 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(const TDesC8 &)

IMPORT_C static 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()const

IMPORT_C const CX509DNSName& Host() const;

Description

Gets the host part.

Return value

const CX509DNSName &

The host part.


Name()const

IMPORT_C TPtrC Name() const;

Description

Gets the whole name.

Return value

TPtrC16

A pointer descriptor representing the whole name.