Modifier and Type | Class and Description |
---|---|
private static class |
Modifier and Type | Field and Description |
---|---|
private static final int | |
private static volatile SecureRandom |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
pack-priv static void | |
public static SecureRandom | |
public static SecureRandom | |
public static int | getTempArraySize(int totalSize)
Get the size of a temporary buffer array to use in order to be cache efficient. |
public static void |
ARRAY_SIZE | back to summary |
---|---|
private static final int ARRAY_SIZE |
def | back to summary |
---|---|
private static volatile SecureRandom def |
JCAUtil | back to summary |
---|---|
private JCAUtil() |
clearDefSecureRandom | back to summary |
---|---|
pack-priv static void clearDefSecureRandom() |
getDefSecureRandom | back to summary |
---|---|
public static SecureRandom getDefSecureRandom() Get the default SecureRandom instance. This method is the optimized version of "new SecureRandom()" which re-uses the default SecureRandom impl if the provider table is the same. |
getSecureRandom | back to summary |
---|---|
public static SecureRandom getSecureRandom() Get a SecureRandom instance. This method should be used by JDK internal code in favor of calling "new SecureRandom()". That needs to iterate through the provider table to find the default SecureRandom implementation, which is fairly inefficient. |
getTempArraySize | back to summary |
---|---|
public static int getTempArraySize(int totalSize) Get the size of a temporary buffer array to use in order to be cache efficient. totalSize indicates the total amount of data to be buffered. Used by the engineUpdate(ByteBuffer) methods. |
tryCommitCertEvent | back to summary |
---|---|
public static void tryCommitCertEvent(Certificate cert) |
Modifier and Type | Field and Description |
---|---|
public static SecureRandom |
Access | Constructor and Description |
---|---|
private |
instance | back to summary |
---|---|
public static SecureRandom instance |
CachedSecureRandomHolder | back to summary |
---|---|
private CachedSecureRandomHolder() |