CX509IPBasedURI Class Reference

#include <x509gn.h>

Link against: x509.lib

class CX509IPBasedURI : public CBase

Inherits from

Detailed 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).

Constructor & Destructor Documentation

CX509IPBasedURI ( )

CX509IPBasedURI()

Default constructor.

~CX509IPBasedURI ( )

IMPORT_C~CX509IPBasedURI()

Destructor.

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

Member Function Documentation

Host ( )

IMPORT_C const CX509DNSName &Host()const

Gets the host part.

Return Value
The host part.

Name ( )

IMPORT_C TPtrCName()const

Gets the whole name.

Return Value
A pointer descriptor representing the whole name.

NewL ( const TDesC8 & )

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

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

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

NewLC ( const TDesC8 & )

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

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