Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class CX509IPSubnetMask

class CX509IPSubnetMask : public CBase;

Description

An IP subnet mask.

Input data is parsed into an 8-bit base address and an 8-bit mask.

Derivation

Members

Defined in CX509IPSubnetMask:

Inherited from CBase:


Construction and destruction


NewL(const TDesC8 &)

IMPORT_C static CX509IPSubnetMask* NewL(const TDesC8 &aBinaryData);

Description

Creates an IP subnet mask object from the specified buffer containing the binary coded representation.

The data is parsed into an 8-bit base address and an 8-bit mask.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509IPSubnetMask *

The new IP subnet mask object.


NewLC(const TDesC8 &)

IMPORT_C static CX509IPSubnetMask* NewLC(const TDesC8 &aBinaryData);

Description

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

The data is parsed into an 8-bit base address and an 8-bit mask.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509IPSubnetMask *

The new IP subnet mask object.


~CX509IPSubnetMask()

IMPORT_C ~CX509IPSubnetMask();

Description

Destructor.

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

[Top]


Member functions


BaseAddress()const

IMPORT_C TPtrC8 BaseAddress() const;

Description

Gets the base IP address.

Return value

TPtrC8

A pointer descriptor representing the base IP address.


Mask()const

IMPORT_C TPtrC8 Mask() const;

Description

Gets the subnet mask.

Return value

TPtrC8

A pointer descriptor representing the subnet mask.