xjava.security
Class IJCE_Traceable

java.lang.Object
  |
  +--xjava.security.IJCE_Traceable
Direct Known Subclasses:
Cipher, PaddingScheme

abstract class IJCE_Traceable
extends java.lang.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
(package private)  boolean tracing
           
 
Constructor Summary
(package private) IJCE_Traceable(java.lang.String type)
           
 
Method Summary
(package private) static void ()
           
(package private)  void disableTracing()
          Disables tracing of SPI methods for this object.
(package private)  void enableTracing(java.io.PrintWriter out)
          Enables tracing of calls to SPI methods for this object.
(package private)  void traceMethod(java.lang.String s)
          Traces a method call that will return a result.
(package private)  void traceResult(int i)
          Traces the result of a method as an integer.
(package private)  void traceResult(java.lang.String s)
          Traces the result of a method as a string.
(package private)  void traceVoidMethod(java.lang.String s)
          Traces a void method call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tracing

boolean tracing
Constructor Detail

IJCE_Traceable

IJCE_Traceable(java.lang.String type)
Method Detail

static void ()

enableTracing

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

disableTracing

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

traceVoidMethod

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

traceMethod

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

traceResult

void traceResult(java.lang.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.