CX509IPBasedURI Class Reference

class CX509IPBasedURI : public CBase

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

Inherits from

Constructor & Destructor Documentation

CX509IPBasedURI()

CX509IPBasedURI ( )

Default constructor.

~CX509IPBasedURI()

IMPORT_C ~CX509IPBasedURI ( )

Destructor.

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

Member Functions Documentation

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aBinaryData ) [private]

Parameters

const TDesC8 & aBinaryData

ExtractHostNameL()

TPtrC ExtractHostNameL ( ) const [private]

Host()

IMPORT_C const CX509DNSName & Host ( ) const

Gets the host part.

Name()

IMPORT_C TPtrC Name ( ) const

Gets 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

const TDesC8 & aBinaryData The encoded binary representation.

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

const TDesC8 & aBinaryData The encoded binary representation.

Member Data Documentation

CX509DNSName * iHost

CX509DNSName * iHost [private]

HBufC * iName

HBufC * iName [private]