Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509gn.h
Link against: x509.lib

Class CX509IPAddress

class CX509IPAddress : public CBase;

Description

A single IP address.

Derivation

Members

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

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

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

IMPORT_C ~CX509IPAddress();

Description

Destructor.

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

[Top]


Member functions


IsWithinSubtree()

IMPORT_C 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

ETrue, if the IP address lies within the specified subnet address; EFalse, otherwise.


Address()

IMPORT_C TPtrC8 Address() const;

Description

Gets the IP address.

Return value

TPtrC8

A pointer descriptor representing the single IP address.