|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.core.Settings.Constants.Key
Central repository of settings related to cipher keys.
Key
Field Summary | |
static boolean |
ALWAYS_SILENT
Wether to be totally silent about key material. |
static boolean |
IGNORE_EMPTY
Wether to discard ciphers whose Key is empty. |
static boolean |
LOG_EXPANSIONS
Wether to issue a log whenever a key is turncated to match a ciphers specific key size. |
static boolean |
LOG_KEY_INSTANTIATION
Wether to issue a log whenever a new key is created. |
static boolean |
LOG_KEY_MATERIAL_LENGTH
Wether to include effective key material length while logging key instantiation. |
static boolean |
LOG_TRUNCATIONS
Wether to issue a log whenever a key is turncated to match a ciphers specific key size. |
static boolean |
WARN_EMPTY
Wether to issue a warning if a key is built empty. |
static boolean |
WARN_EXPANSIONS
Wether to issue a warning whenever a key is turncated to match a ciphers specific key size. |
static boolean |
WARN_SUBCLASSES_INVERSION
Wether to issue a warning whenever a sam.cipher.Key subclass
is inversed through the sam.cipher.Key.inverse() method
which returns an new instance of sam.cipher.Key instead of
the subclass. |
static boolean |
WARN_TRUNCATIONS
Wether to issue a warning whenever a key is turncated to match a ciphers specific key size. |
Constructor Summary | |
Settings.Constants.Key()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean ALWAYS_SILENT
public static final boolean LOG_KEY_INSTANTIATION
public static final boolean LOG_KEY_MATERIAL_LENGTH
LOG_KEY_INSTANTIATION
is true
.
public static final boolean LOG_TRUNCATIONS
public static boolean WARN_TRUNCATIONS
public static final boolean LOG_EXPANSIONS
public static final boolean WARN_EXPANSIONS
public static final boolean IGNORE_EMPTY
Key
is empty.
Warning: it is necessary for Key
subclasses to override the Key.isEmpty()
method adequately to avoid not-really empty keys be discarded.
Key.isEmpty()
,
Constant Field Valuespublic static final boolean WARN_EMPTY
public static final boolean WARN_SUBCLASSES_INVERSION
sam.cipher.Key
subclass
is inversed through the sam.cipher.Key.inverse()
method
which returns an new instance of sam.cipher.Key
instead of
the subclass.
Constructor Detail |
public Settings.Constants.Key()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |