| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final BigInteger | |
| private static final SubjectPublicKeyInfoChecker. | |
| private static final SubjectPublicKeyInfoChecker. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| private static int | |
| private static boolean | |
| public static boolean | Returns: true if the override was already set true in thread local, false otherwise.the property name for the override. propertyName)Remove any value for the specified override property for the current thread only. |
| public static boolean | Returns: true if the override was already set true, false otherwise.the property name for the override. propertyName, boolean true if the override should be enabled, false if it should be disabled. enable)Enable the specified override property for the current thread only. |
| private static void |
| SMALL_PRIMES_PRODUCT | back to summary |
|---|---|
| private static final BigInteger SMALL_PRIMES_PRODUCT | |
| validatedMods | back to summary |
|---|---|
| private static final SubjectPublicKeyInfoChecker. | |
| validatedQs | back to summary |
|---|---|
| private static final SubjectPublicKeyInfoChecker. | |
| SubjectPublicKeyInfoChecker | back to summary |
|---|---|
| public SubjectPublicKeyInfoChecker() | |
| checkInfo | back to summary |
|---|---|
| public static void checkInfo(SubjectPublicKeyInfo pubInfo) | |
| getNumberOfIterations | back to summary |
|---|---|
| private static int getNumberOfIterations(int bits, int certainty) | |
| hasAnySmallFactors | back to summary |
|---|---|
| private static boolean hasAnySmallFactors(BigInteger modulus) | |
| removeThreadOverride | back to summary |
|---|---|
| public static boolean removeThreadOverride(String propertyName) Remove any value for the specified override property for the current thread only.
| |
| setThreadOverride | back to summary |
|---|---|
| public static boolean setThreadOverride(String propertyName, boolean enable) Enable the specified override property for the current thread only.
| |
| validate | back to summary |
|---|---|
| private static void validate(BigInteger modulus) | |
| Modifier and Type | Field and Description |
|---|---|
| private final BigInteger[] | |
| private int | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized void | |
| public synchronized boolean | |
| public synchronized int |
| preserve | back to summary |
|---|---|
| private final BigInteger[] preserve | |
| preserveCounter | back to summary |
|---|---|
| private int preserveCounter | |
| values | back to summary |
|---|---|
| private final Map<BigInteger, Boolean> values | |
| Cache | back to summary |
|---|---|
| private Cache() | |
| add | back to summary |
|---|---|
| public synchronized void add(BigInteger value) | |
| clear | back to summary |
|---|---|
| public synchronized void clear() | |
| contains | back to summary |
|---|---|
| public synchronized boolean contains(BigInteger value) | |
| size | back to summary |
|---|---|
| public synchronized int size() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | |
| pack-priv static String | Returns: value of property as a String, null if not defined.name of property. propertyName)Return the String value of the property propertyName. |
| pack-priv static boolean | Returns: true if the property is set to "true", false otherwise.the property name for the override. propertyName)Return whether a particular override has been set to true. |
| private static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean |
| threadProperties | back to summary |
|---|---|
| private static final ThreadLocal<T> threadProperties | |
| Properties | back to summary |
|---|---|
| private Properties() | |
| asInteger | back to summary |
|---|---|
| pack-priv static int asInteger(String propertyName, int defaultValue) Return propertyName as an integer, defaultValue used if not defined.
| |
| getPropertyValue | back to summary |
|---|---|
| pack-priv static String getPropertyValue(final String propertyName) Return the String value of the property propertyName. Property valuation starts with java.security, then thread local, then system properties. | |
| isOverrideSet | back to summary |
|---|---|
| pack-priv static boolean isOverrideSet(String propertyName) Return whether a particular override has been set to true.
| |
| isSetTrue | back to summary |
|---|---|
| private static boolean isSetTrue(String p) | |
| removeThreadOverride | back to summary |
|---|---|
| pack-priv static boolean removeThreadOverride(String propertyName) | |
| setThreadOverride | back to summary |
|---|---|
| pack-priv static boolean setThreadOverride(String propertyName, boolean enable) | |