|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCOM.claymoresystems.ptls.SSLDebug
public class SSLDebug
This class is intended for use in debugging PureTLS.
By default, no debugging data is logged to the console, but you can exert some selective control over what types of data will be logged by using setDebug(). The taxonomy of data types is somewhat idiosyncratic and the exact places that debugging callouts have been inserted is somewhat dependent on where problems have been found in the past.
This class is largely useful for sending message traces to the developers.
Field Summary | |
---|---|
static int |
DEBUG_ALL
Print out all debugging information available. |
static int |
DEBUG_CERT
Certificate processing debugging |
static int |
DEBUG_CODEC
Print codec activities to the console. |
static int |
DEBUG_CRYPTO
Print out the input and output for crypto operations. |
static int |
DEBUG_HANDSHAKE
Print out handshake results |
static int |
DEBUG_INIT
Print out commentary during the initialization phase, including keyfile loading |
static int |
DEBUG_MSG
This provides some basic diagnostics about message processing. |
static int |
DEBUG_STATE
Print out state changes in the handshake. |
Constructor Summary | |
---|---|
SSLDebug()
|
Method Summary | |
---|---|
static void |
debug(int type,
java.lang.String val)
|
static void |
debug(int type,
java.lang.String label,
byte[] hd)
|
static boolean |
getDebug(int flag)
|
static void |
setDebug(int flag)
Set the debugging value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEBUG_CODEC
public static final int DEBUG_MSG
public static final int DEBUG_STATE
public static final int DEBUG_CRYPTO
public static final int DEBUG_INIT
public static final int DEBUG_CERT
public static final int DEBUG_HANDSHAKE
public static final int DEBUG_ALL
Constructor Detail |
---|
public SSLDebug()
Method Detail |
---|
public static void setDebug(int flag)
flag
- the bitwise OR of the debugging values of your choice or 0 for nonepublic static boolean getDebug(int flag)
public static void debug(int type, java.lang.String val)
public static void debug(int type, java.lang.String label, byte[] hd)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |