CX509IPAddress Class Reference

#include <x509gn.h>

Link against: x509.lib

class CX509IPAddress : public CBase

Inherits from

  • CX509IPAddress

    Detailed Description

    A single IP address.

    Constructor & Destructor Documentation

    CX509IPAddress ( )

    CX509IPAddress()

    Constructor.

    ~CX509IPAddress ( )

    IMPORT_C~CX509IPAddress()

    Destructor.

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

    Member Function Documentation

    Address ( )

    IMPORT_C TPtrC8Address()const

    Gets the IP address.

    Returns: A pointer descriptor representing the single IP address.

    IsWithinSubtree ( const CX509IPSubnetMask & )

    IMPORT_C TBoolIsWithinSubtree(const CX509IPSubnetMask &aName)const

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

    ParameterDescription
    aNameThe subnet mask name.

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

    NewL ( const TDesC8 & )

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

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

    ParameterDescription
    aBinaryDataThe encoded binary representation.

    Returns: The new single IP addres.

    NewLC ( const TDesC8 & )

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

    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.

    ParameterDescription
    aBinaryDataThe encoded binary representation.

    Returns: The new single IP addres object.