ds.ov2.gui
Class Gui_state

java.lang.Object
  extended by ds.ov2.gui.Gui_state

public class Gui_state
extends Object

Global state fields of the GUI.

Static class.

CPP Preprocessing
no cpp preprocessing needed
Execution Environment:
host
Author:
Hendrik Tews
Version:
$Revision: 1.16 $
Last Commit:
$Date: 2010-02-18 14:02:08 $ by $Author: tews $

Field Summary
static CardTerminal card_terminal
          The card terminal the GUI is attached to.
static Reference<Boolean> default_jcop
          If true, use the jcop emulator as default terminal.
static int default_jcop_port
          Default jcop emulator port.
static String default_mont_applet_file_name
          The default file name of the pure Montgomerizing applet.
static String default_plain_applet_file_name
          The default file name of the plain coprocessor applet.
static Reference<Integer> default_reader_number
          Default card reader number.
static String default_square_2_applet_file_name
          The default file name of the square 2 applet.
static String default_square_4_applet_file_name
          The default file name of the square 4 applet.
static LinkedList<Integer> jcop_ports
          Configured jcop ports.
static String mont_applet_file_name
          The pure Montgomerizing applet file name; can be changed in the config window.
static PrintWriter out
          Output channel for all progress and debug messages.
static String plain_applet_file_name
          The plain coprocessor applet file name; can be changed in the config window.
static Reference<String> ptls_params_file
          PTLS parameter file.
static String square_2_applet_file_name
          The square 4 applet file name; can be changed in the config window.
static String square_4_applet_file_name
          The square 2 applet file name; can be changed in the config window.
static int verbosity
          Verbosity level for stdout of the GUI.
static boolean warn_about_invalid_key_sizes
          If true warn about key sizes about we know the applet will crash.
static boolean warn_about_long_key_sizes
          If true warn about key sizes that will lead to transaction times greater than about 2 minutes.
 
Constructor Summary
protected Gui_state()
          Static class, object creation disabled.
 
Method Summary
static String applet_file_name(Applet_type type)
          Return the configured cap file name for an applet type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ptls_params_file

public static Reference<String> ptls_params_file
PTLS parameter file. Set via option -load-ptls-params. When set the GUI loads PTLS parameters from the indicated file on startup.


verbosity

public static int verbosity
Verbosity level for stdout of the GUI.


warn_about_invalid_key_sizes

public static boolean warn_about_invalid_key_sizes
If true warn about key sizes about we know the applet will crash.


warn_about_long_key_sizes

public static boolean warn_about_long_key_sizes
If true warn about key sizes that will lead to transaction times greater than about 2 minutes.


out

public static PrintWriter out
Output channel for all progress and debug messages.


default_reader_number

public static final Reference<Integer> default_reader_number
Default card reader number.


default_jcop

public static final Reference<Boolean> default_jcop
If true, use the jcop emulator as default terminal. Set with option -jcop.


default_jcop_port

public static final int default_jcop_port
Default jcop emulator port.

See Also:
Constant Field Values

jcop_ports

public static LinkedList<Integer> jcop_ports
Configured jcop ports. Every -jcop-port option adds one number here.


card_terminal

public static CardTerminal card_terminal
The card terminal the GUI is attached to.


default_square_4_applet_file_name

public static final String default_square_4_applet_file_name
The default file name of the square 4 applet.


default_square_2_applet_file_name

public static final String default_square_2_applet_file_name
The default file name of the square 2 applet.


default_plain_applet_file_name

public static final String default_plain_applet_file_name
The default file name of the plain coprocessor applet.


default_mont_applet_file_name

public static final String default_mont_applet_file_name
The default file name of the pure Montgomerizing applet.


square_4_applet_file_name

public static String square_4_applet_file_name
The square 2 applet file name; can be changed in the config window.


square_2_applet_file_name

public static String square_2_applet_file_name
The square 4 applet file name; can be changed in the config window.


plain_applet_file_name

public static String plain_applet_file_name
The plain coprocessor applet file name; can be changed in the config window.


mont_applet_file_name

public static String mont_applet_file_name
The pure Montgomerizing applet file name; can be changed in the config window.

Constructor Detail

Gui_state

protected Gui_state()
Static class, object creation disabled.

Method Detail

applet_file_name

public static String applet_file_name(Applet_type type)
Return the configured cap file name for an applet type.

Parameters:
type - the applet type
Returns:
configured cap file name