CX509IPSubnetMask Class Reference

#include <x509gn.h>

Link against: x509.lib

class CX509IPSubnetMask : public CBase

Inherits from

  • CX509IPSubnetMask

    Detailed Description

    An IP subnet mask.

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

    Constructor & Destructor Documentation

    CX509IPSubnetMask ( )

    CX509IPSubnetMask()

    Constructor.

    ~CX509IPSubnetMask ( )

    IMPORT_C~CX509IPSubnetMask()

    Destructor.

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

    Member Function Documentation

    BaseAddress ( )

    IMPORT_C TPtrC8BaseAddress()const

    Gets the base IP address.

    Returns: A pointer descriptor representing the base IP address.

    Mask ( )

    IMPORT_C TPtrC8Mask()const

    Gets the subnet mask.

    Returns: A pointer descriptor representing the subnet mask.

    NewL ( const TDesC8 & )

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

    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.

    ParameterDescription
    aBinaryDataThe encoded binary representation.

    Returns: The new IP subnet mask object.

    NewLC ( const TDesC8 & )

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

    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.

    ParameterDescription
    aBinaryDataThe encoded binary representation.

    Returns: The new IP subnet mask object.