Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <X509gn.h>
Link against: x509.lib

Class CX509IPAddress

class CX509IPAddress : public CBase;

Description

A single IP address.

Derivation

Members

Defined in CX509IPAddress:

Inherited from CBase:


Construction and destruction


NewL(const TDesC8 &)

IMPORT_C 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(const TDesC8 &)

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

IMPORT_C ~CX509IPAddress();

Description

Destructor.

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

[Top]


Member functions


IsWithinSubtree(const CX509IPSubnetMask &)const

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()const

IMPORT_C TPtrC8 Address() const;

Description

Gets the IP address.

Return value

TPtrC8

A pointer descriptor representing the single IP address.