|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rsa.ace.techservice.util.AceDebug
public class AceDebug
This class provides Ace binary data debug utilities. It provides binary data display utilities for both conversion of binary byte data to strings and also printing interfaces.
| Field Summary | |
|---|---|
static int |
CLIENT_ADDR_LEN
|
| Constructor Summary | |
|---|---|
AceDebug()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
hexCompactString(byte[] hexData)
Compact HEX string utility. |
static java.lang.String |
hexCompactString(byte[] hexData,
int startingAtByte,
int hexDataLength)
Compact HEX string utility. |
static java.lang.String |
hexString(byte[] hexData)
Static HEX string utility. |
static java.lang.String |
hexString(byte[] hexData,
int hexDataLength)
Static HEX string utility. |
static java.lang.String |
hexString(byte[] hexData,
int startingAtByte,
int hexDataLength)
Static HEX string utility. |
static java.lang.String |
ipAddress(byte[] ipData)
Static IP Address string utility. |
static void |
printHex(java.io.PrintStream ps,
java.lang.String title,
byte[] hexData)
Static HEX Output print utility. |
static void |
printHex(java.io.PrintStream ps,
java.lang.String title,
byte[] hexData,
int hexDataLength)
Static HEX Output print utility. |
static void |
printHex(java.io.PrintStream ps,
java.lang.String title,
byte[] hexData,
int startingByte,
int hexDataLength)
Static HEX Output print utility. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CLIENT_ADDR_LEN
| Constructor Detail |
|---|
public AceDebug()
| Method Detail |
|---|
public static java.lang.String hexString(byte[] hexData,
int startingAtByte,
int hexDataLength)
This make a dump string of a specific portion and length of the array passed. Format is:
0000: 01 . 02 . 03 . 04 . 05 . 06 . 07 . 08 . 09 .
or
0000 [@0142]: 01 . 02 . 03 . 04 . 05 . 06 . 07 . 08 . 09 .
for data not being dumped from the start of an data array. In this format, 0000 is the byte offset, [@0142] is the data array offset (omitted if the offset is zero), 01 is the hex byte and the . (or ?) is an ASCII character, if applicable. This also does some masking to eliminate sign- extension issues.
hexData - The byte array to be converted to HEX format.startingAtByte - The byte at which hex dumping should commence.hexDataLength - The length of bytes to be dumped.
public static java.lang.String hexCompactString(byte[] hexData,
int startingAtByte,
int hexDataLength)
hexData - The byte array to be converted to HEX format.startingAtByte - The byte at which hex dumping should commence.hexDataLength - The length of bytes to be dumped.
public static java.lang.String hexCompactString(byte[] hexData)
hexData - The byte array to be converted to HEX format.
public static java.lang.String hexString(byte[] hexData,
int hexDataLength)
hexData - The byte array to be converted to HEX format.hexDataLength - The length of bytes to be dumped.
public static java.lang.String hexString(byte[] hexData)
hexData - The byte array to be converted to HEX format.
public static java.lang.String ipAddress(byte[] ipData)
ipData - The byte array to be converted to an IP address.
public static void printHex(java.io.PrintStream ps,
java.lang.String title,
byte[] hexData,
int startingByte,
int hexDataLength)
ps - The print stream to which the output should be sent. (System.out)title - The title placed before the output.hexData - The byte array to be dumped in HEX format.startingAtByte - The byte at which hex dumping should commence.hexDataLength - The length of bytes to be dumped.
public static void printHex(java.io.PrintStream ps,
java.lang.String title,
byte[] hexData,
int hexDataLength)
ps - The print stream to which the output should be sent. (System.out)title - The title placed before the output.hexData - The byte array to be dumped in HEX format.hexDataLength - The length of bytes to be dumped.
public static void printHex(java.io.PrintStream ps,
java.lang.String title,
byte[] hexData)
ps - The print stream to which the output should be sent. (System.out)title - The title placed before the output.hexData - The byte array to be dumped in HEX format.
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||