CX509IPAddress Class Reference

#include <x509gn.h>

Link against: x509.lib

class CX509IPAddress : public CBase

Inherits from

Detailed Description

A single IP address.

Constructor & Destructor Documentation

CX509IPAddress ( )

CX509IPAddress()

Constructor.

~CX509IPAddress ( )

IMPORT_C~CX509IPAddress()

Destructor.

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

Member Function Documentation

Address ( )

IMPORT_C TPtrC8Address()const

Gets the IP address.

Return Value
A pointer descriptor representing the single IP address.

IsWithinSubtree ( const CX509IPSubnetMask & )

IMPORT_C TBoolIsWithinSubtree(const CX509IPSubnetMask &aName)const

Tests whether the IP address lies within the specified subnet address.

Parameters
aNameThe subnet mask name.
Return Value
ETrue, if the IP address lies within the specified subnet address; EFalse, otherwise.

NewL ( const TDesC8 & )

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

Creates a single IP address object from the specified buffer containing the binary coded representation.

Parameters
aBinaryDataThe encoded binary representation.
Return Value
The new single IP addres.

NewLC ( const TDesC8 & )

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

Creates a single IP address object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.

Parameters
aBinaryDataThe encoded binary representation.
Return Value
The new single IP addres object.