ds.ov2.front
Class Test_state

java.lang.Object
  extended by ds.ov2.front.Test_state

public class Test_state
extends Object

State class for the front office test frame. Contains the global variables for the test frame. Most of them can be changed with command line options.

Static class.

CPP Preprocessing
This class uses the following cpp defines: PLAIN_APPLET_TESTFRAME MONT_APPLET_TESTFRAME SQUARE_APPLET_TESTFRAME SQUARE4_APPLET_TESTFRAME
Execution Environment:
host
Author:
Hendrik Tews
Version:
$Revision: 1.22 $
Last Commit:
$Date: 2010-02-16 10:26:08 $ by $Author: tews $

Field Summary
static Reference<Applet_type> applet_type
          The applet type of the applet the testframe works with.
static Reference<Integer> card_init_rounds
          Number of applet initialization rounds per generated key.
static BigInteger_inputs fix_inputs
          Vector of input arguments from the command line via options -i and -hex.
static Reference<Boolean> ignore_all_kinds_of_problems
          Ignore signature errors and failed runs of the resing and proof protocol.
static Applet_type init_applet_type
          Default initialization for applet_type.
static Reference<Integer> proof_rounds
          Number of proof rounds per resign round.
static Reference<Integer> ptls_param_rounds
          Number of key generation rounds for each tested key size.
static Reference<Integer> resign_rounds
          Number of resign rounds per applet.
static int sleep_time
          Milliseconds to sleep before each protocol invocation.
static Reference<Boolean> test_const_size
          Test a fixed size.
static Reference<Boolean> test_increase_size
          Test with successively increasing key sizes.
static Reference<Boolean> test_ptls_save
          Test PTLS system parameter save/restore.
static Reference<Integer> verbosity
          Verbosity of the generated output.
 
Constructor Summary
protected Test_state()
          Static class, object creation disabled.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verbosity

public static Reference<Integer> verbosity
Verbosity of the generated output. Higher values give more output. Set with the command line options -v, -d, -dd and -ddd.


init_applet_type

public static Applet_type init_applet_type
Default initialization for applet_type. The default value is controled by the Makefile with various cpp defines.


applet_type

public static Reference<Applet_type> applet_type
The applet type of the applet the testframe works with.


test_increase_size

public static Reference<Boolean> test_increase_size
Test with successively increasing key sizes. Enabled with option -test-size


test_const_size

public static Reference<Boolean> test_const_size
Test a fixed size. Enabled with option -test-const.


test_ptls_save

public static Reference<Boolean> test_ptls_save
Test PTLS system parameter save/restore. Only for the host test frame. Enabled with -test-ptls-save.


ptls_param_rounds

public static Reference<Integer> ptls_param_rounds
Number of key generation rounds for each tested key size. Set with -ptls-rounds.


card_init_rounds

public static Reference<Integer> card_init_rounds
Number of applet initialization rounds per generated key. Set with -card-init-rounds.


resign_rounds

public static Reference<Integer> resign_rounds
Number of resign rounds per applet. Set with -resign-rounds.


proof_rounds

public static Reference<Integer> proof_rounds
Number of proof rounds per resign round. Set with -proof-rounds.


sleep_time

public static int sleep_time
Milliseconds to sleep before each protocol invocation.


ignore_all_kinds_of_problems

public static Reference<Boolean> ignore_all_kinds_of_problems
Ignore signature errors and failed runs of the resing and proof protocol. Enabled with option -ignore.


fix_inputs

public static BigInteger_inputs fix_inputs
Vector of input arguments from the command line via options -i and -hex.

Constructor Detail

Test_state

protected Test_state()
Static class, object creation disabled.