xjava.security

Class IJCE_Traceable

abstract class IJCE_Traceable extends Object

This class is extended by Java Security classes that allow tracing of calls to SPI methods. Tracing is useful when debugging an algorithm implementation, for example.

These methods are not part of the public API; they are intended to be called only from the algorithm classes in this package.

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.6 $

Since: IJCE 1.0.1

Author: David Hopwood Raif S. Naffah

Field Summary
booleantracing
Constructor Summary
IJCE_Traceable(String type)
Method Summary
voiddisableTracing()
Disables tracing of SPI methods for this object.
voidenableTracing(PrintWriter out)
Enables tracing of calls to SPI methods for this object.
voidtraceMethod(String s)
Traces a method call that will return a result.
voidtraceResult(String s)
Traces the result of a method as a string.
voidtraceResult(int i)
Traces the result of a method as an integer.
voidtraceVoidMethod(String s)
Traces a void method call.

Field Detail

tracing

boolean tracing

Constructor Detail

IJCE_Traceable

IJCE_Traceable(String type)

Method Detail

disableTracing

void disableTracing()
Disables tracing of SPI methods for this object. Returns silently if tracing was not enabled.

enableTracing

void enableTracing(PrintWriter out)
Enables tracing of calls to SPI methods for this object. Output is sent to the PrintWriter out.

traceMethod

void traceMethod(String s)
Traces a method call that will return a result.

traceResult

void traceResult(String s)
Traces the result of a method as a string.

traceResult

void traceResult(int i)
Traces the result of a method as an integer.

traceVoidMethod

void traceVoidMethod(String s)
Traces a void method call.