|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectds.ov2.front.State
public class State
Static global state class for the host driver code for the OV-chip
RSA applets. The parameters here are always needed for the OV-chip
front office. More parameters that are only needed in the test
frames are in Test_state
.
Field Summary | |
---|---|
static Reference<Integer> |
attribute_number
Number of attributes. |
static Reference<Integer> |
base_length
Length of the bases and the RSA key in bits. |
static Reference<Boolean> |
base_length_set
Whether base_length has been set by the user. |
static Reference<Integer> |
exponent_length
Length of the attributes and other exponents in bits. |
static Reference<Boolean> |
exponent_length_set
True if exponent_length has been set by the user. |
static Reference<Security_parameter.Calibration> |
security_calibration
Calibration data to use for the Security_parameter
methods. |
static int |
security_year
Year for choosing the security parameter. |
Constructor Summary | |
---|---|
protected |
State()
Static class, object creation disabled. |
Method Summary | |
---|---|
static int |
make_exponent_length(int base_length)
Computes an exponent length that matches the base_length argument. |
static void |
update_exponent_length()
Update exponent_length to match a (supposedly) changed
base_length . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int security_year
Security_parameter.exponent_length_for_modulus_length
.
public static Reference<Security_parameter.Calibration> security_calibration
Security_parameter
methods. Set to Security_parameter.rsa_768_break_2009
by option -768
.
public static Reference<Boolean> base_length_set
base_length
has been set by the user.
public static Reference<Integer> base_length
public static Reference<Integer> exponent_length
public static Reference<Boolean> exponent_length_set
exponent_length
has been set by the user.
public static Reference<Integer> attribute_number
Constructor Detail |
---|
protected State()
Method Detail |
---|
public static int make_exponent_length(int base_length)
base_length
argument.
base_length
- length of the base in bits
public static void update_exponent_length()
exponent_length
to match a (supposedly) changed
base_length
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |