Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: x509gn.h
Link against: x509.lib

Class CX509IPAddress

CX509IPAddress

Support

Supported from 6.0

Description

A single IP address.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CX509IPAddressA single IP address

Defined in CX509IPAddress:
Address(), CX509IPAddress(), IsWithinSubtree(), NewL(), NewLC(), ~CX509IPAddress()

Inherited from CBase:
operator new()


Construction and destruction


NewL()

static CX509IPAddress* NewL(const TDesC8& aBinaryData);

Description

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

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509IPAddress*

The new single IP addres.


NewLC()

static CX509IPAddress* NewLC(const TDesC8& aBinaryData);

Description

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

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509IPAddress*

The new single IP addres object.


~CX509IPAddress()

~CX509IPAddress();

Description

Destructor.

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


CX509IPAddress()

CX509IPAddress();

Description

Constructor.

[Top]


Member functions


IsWithinSubtree()

TBool IsWithinSubtree(const CX509IPSubnetMask& aName) const;

Description

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

Parameters

const CX509IPSubnetMask& aName

The subnet mask name.

Return value

TBool

True, if the IP address lies within the specified subnet address; false, otherwise.


Address()

TPtrC8 Address() const;

Description

Gets the IP address.

Return value

TPtrC8

A pointer descriptor representing the single IP address.