|
|||||||||
Home >> All >> gnu >> java >> [ security overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
gnu.java.security
Class Properties

java.lang.Objectgnu.java.security.Properties
- public final class Properties
- extends java.lang.Object
A global object containing build-specific properties that affect the behaviour of the generated binaries from this library.
Field Summary | |
static java.lang.String |
CHECK_WEAK_KEYS
|
private boolean |
checkForWeakKeys
|
private static boolean |
DEBUG
|
static java.lang.String |
DO_RSA_BLINDING
|
private boolean |
doRSABlinding
|
private static java.io.PrintWriter |
err
|
private static java.lang.String |
FALSE
|
private static java.lang.String |
NAME
|
static java.lang.String |
PROPERTIES_FILE
|
private static java.util.HashMap |
props
|
private boolean |
reproducible
|
static java.lang.String |
REPRODUCIBLE_PRNG
|
private static Properties |
singleton
|
private static java.lang.String |
TRUE
|
static java.lang.String |
VERSION
|
Constructor Summary | |
private |
Properties()
Trivial constructor to enforce Singleton pattern. |
Method Summary | |
static boolean |
checkForWeakKeys()
A convenience method that returns, as a boolean, the library global configuration property indicating if the implementations of symmetric key block ciphers check, or not, for possible/potential weak and semi-weak keys that may be produced in the course of generating round encryption and/or decryption keys. |
private static void |
debug(java.lang.String s)
|
static boolean |
doRSABlinding()
A convenience method that returns, as a boolean, the library global configuration property indicating if RSA decryption (RSADP primitive), does, or not, blinding against timing attacks. |
static java.lang.String |
getProperty(java.lang.String key)
Returns the string representation of the library global configuration property with the designated key . |
private void |
handleBooleanProperty(java.lang.String name)
|
private void |
init()
|
private static Properties |
instance()
|
static boolean |
isReproducible()
A convenience method that returns, as a boolean, the library global configuration property indicating if the default Pseudo Random Number Generator produces, or not, the same bit stream when instantiated. |
static void |
setCheckForWeakKeys(boolean value)
A convenience method to set the global property for checking for weak and semi-weak cipher keys. |
static void |
setDoRSABlinding(boolean value)
A convenience method to set the global property fo adding a blinding operation when executing the RSA decryption primitive. |
static void |
setProperty(java.lang.String key,
java.lang.String value)
Sets the value of a designated library global configuration property, to a string representation of what should be a legal value. |
static void |
setReproducible(boolean value)
A convenience method to set the global property for reproducibility of the default PRNG bit stream output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
NAME
private static final java.lang.String NAME
- See Also:
- Constant Field Values
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
err
private static final java.io.PrintWriter err
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
PROPERTIES_FILE
public static final java.lang.String PROPERTIES_FILE
- See Also:
- Constant Field Values
REPRODUCIBLE_PRNG
public static final java.lang.String REPRODUCIBLE_PRNG
- See Also:
- Constant Field Values
CHECK_WEAK_KEYS
public static final java.lang.String CHECK_WEAK_KEYS
- See Also:
- Constant Field Values
DO_RSA_BLINDING
public static final java.lang.String DO_RSA_BLINDING
- See Also:
- Constant Field Values
TRUE
private static final java.lang.String TRUE
FALSE
private static final java.lang.String FALSE
props
private static final java.util.HashMap props
singleton
private static Properties singleton
reproducible
private boolean reproducible
checkForWeakKeys
private boolean checkForWeakKeys
doRSABlinding
private boolean doRSABlinding
Constructor Detail |
Properties
private Properties()
- Trivial constructor to enforce Singleton pattern.
Method Detail |
debug
private static void debug(java.lang.String s)
getProperty
public static final java.lang.String getProperty(java.lang.String key)
Returns the string representation of the library global configuration property with the designated
key
.
setProperty
public static final void setProperty(java.lang.String key, java.lang.String value)
Sets the value of a designated library global configuration property, to a string representation of what should be a legal value.
isReproducible
public static final boolean isReproducible()
A convenience method that returns, as a boolean, the library global configuration property indicating if the default Pseudo Random Number Generator produces, or not, the same bit stream when instantiated.
checkForWeakKeys
public static final boolean checkForWeakKeys()
A convenience method that returns, as a boolean, the library global configuration property indicating if the implementations of symmetric key block ciphers check, or not, for possible/potential weak and semi-weak keys that may be produced in the course of generating round encryption and/or decryption keys.
doRSABlinding
public static final boolean doRSABlinding()
A convenience method that returns, as a boolean, the library global configuration property indicating if RSA decryption (RSADP primitive), does, or not, blinding against timing attacks.
setReproducible
public static final void setReproducible(boolean value)
A convenience method to set the global property for reproducibility of the default PRNG bit stream output.
setCheckForWeakKeys
public static final void setCheckForWeakKeys(boolean value)
A convenience method to set the global property for checking for weak and semi-weak cipher keys.
setDoRSABlinding
public static final void setDoRSABlinding(boolean value)
A convenience method to set the global property fo adding a blinding operation when executing the RSA decryption primitive.
instance
private static final Properties instance()
init
private void init()
handleBooleanProperty
private void handleBooleanProperty(java.lang.String name)
|
|||||||||
Home >> All >> gnu >> java >> [ security overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |