SSJ  3.3.1
Stochastic Simulation in Java
Static Public Member Functions | Static Package Functions | Static Package Attributes | List of all members
Rijndael_Properties Class Reference

This class acts as a central repository for an algorithm specific properties. More...

Collaboration diagram for Rijndael_Properties:
[legend]

Static Public Member Functions

static String getProperty (String key)
 Get the value of a property for this algorithm. More...
 
static String getProperty (String key, String value)
 Get the value of a property for this algorithm, or return value if the property was not set.
 
static void list (PrintStream out)
 List algorithm properties to the PrintStream out. More...
 
static void list (PrintWriter out)
 List algorithm properties to the PrintWriter out. More...
 
static Enumeration propertyNames ()
 

Static Package Functions

 [static initializer]
 
static boolean isTraceable (String label)
 Return true if tracing is requested for a given class. More...
 
static int getLevel (String label)
 Return the debug level for a given class. More...
 
static PrintWriter getOutput ()
 Return the PrintWriter to which tracing and debugging output is to be sent. More...
 

Static Package Attributes

static final boolean GLOBAL_DEBUG = false
 
static final String ALGORITHM = "Rijndael"
 
static final double VERSION = 0.1
 
static final String FULL_NAME = ALGORITHM + " ver. " + VERSION
 
static final String NAME = "Rijndael_Properties"
 
static final Properties properties = new Properties()
 

Detailed Description

This class acts as a central repository for an algorithm specific properties.

It reads an (algorithm).properties file containing algorithm- specific properties. When using the AES-Kit, this (algorithm).properties file is located in the (algorithm).jar file produced by the "jarit" batch/ script command.

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

Revision

Author
David Hopwood
Jill Baker
Raif S. Naffah

Member Function Documentation

◆ getLevel()

static int getLevel ( String  label)
staticpackage

Return the debug level for a given class.

User indicates this by setting the numeric property with key "<code>Debug.Level.<i>label</i></code>".

If this property is not set, "<code>Debug.Level.*</code>" is looked up next. If neither property is set, or if the first property found is not a valid decimal integer, then this method returns 0.

Parameters
labelThe name of a class.
Returns
The required debugging level for the designated class.

◆ getOutput()

static PrintWriter getOutput ( )
staticpackage

Return the PrintWriter to which tracing and debugging output is to be sent.

User indicates this by setting the property with key Output to the literal out or err.

By default or if the set value is not allowed, System.err will be used.

◆ getProperty()

static String getProperty ( String  key)
static

Get the value of a property for this algorithm.

◆ isTraceable()

static boolean isTraceable ( String  label)
staticpackage

Return true if tracing is requested for a given class.

User indicates this by setting the tracing boolean property for label in the (algorithm).properties file. The property's key is "<code>Trace.<i>label</i></code>".

Parameters
labelThe name of a class.
Returns
True iff a boolean true value is set for a property with the key Trace.label.

◆ list() [1/2]

static void list ( PrintStream  out)
static

List algorithm properties to the PrintStream out.

◆ list() [2/2]

static void list ( PrintWriter  out)
static

List algorithm properties to the PrintWriter out.


The documentation for this class was generated from the following file: