#include <x509gn.h>
class CX509IPAddress : public CBase |
Public Member Functions | |
---|---|
CX509IPAddress() | |
~CX509IPAddress() | |
IMPORT_C TPtrC8 | Address() |
IMPORT_C TBool | IsWithinSubtree(const CX509IPSubnetMask &) |
IMPORT_C CX509IPAddress * | NewL(const TDesC8 &) |
IMPORT_C CX509IPAddress * | NewLC(const TDesC8 &) |
A single IP address.
IMPORT_C | ~CX509IPAddress | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C TPtrC8 | Address | ( | ) | const |
Gets the IP address.
Returns: A pointer descriptor representing the single IP address.
IMPORT_C TBool | IsWithinSubtree | ( | const CX509IPSubnetMask & | aName | ) | const |
Tests whether the IP address lies within the specified subnet address.
Parameter | Description |
---|---|
aName | The subnet mask name. |
Returns: ETrue, if the IP address lies within the specified subnet address; EFalse, otherwise.
IMPORT_C CX509IPAddress * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a single IP address object from the specified buffer containing the binary coded representation.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new single IP addres.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new single IP addres object.