| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final SecureRandom |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static AEADParameters | |
| public static int | |
| pack-priv static int | |
| public static int | |
| pack-priv static KeyParameter | |
| pack-priv static ParametersWithIV | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void |
| testRandom | back to summary |
|---|---|
| pack-priv static final SecureRandom testRandom | |
| Utils | back to summary |
|---|---|
| pack-priv Utils() | |
| approvedModeCheck | back to summary |
|---|---|
| pack-priv static void approvedModeCheck(boolean approvedMode, FipsAlgorithm algorithm) | |
| checkPermission | back to summary |
|---|---|
| pack-priv static void checkPermission(final Permission permission) | |
| getAEADParameters | back to summary |
|---|---|
| pack-priv static AEADParameters getAEADParameters(ValidatedSymmetricKey sKey, byte[] nonce, int tagLen) | |
| getAsymmetricSecurityStrength | back to summary |
|---|---|
| public static int getAsymmetricSecurityStrength(int sizeInBits) | |
| getDefaultMacSize | back to summary |
|---|---|
| pack-priv static int getDefaultMacSize(Algorithm algorithm, int blockSize) | |
| getECCurveSecurityStrength | back to summary |
|---|---|
| public static int getECCurveSecurityStrength(ECCurve curve) | |
| getKeyParameter | back to summary |
|---|---|
| pack-priv static KeyParameter getKeyParameter(ValidatedSymmetricKey sKey) | |
| getParametersWithIV | back to summary |
|---|---|
| pack-priv static ParametersWithIV getParametersWithIV(ValidatedSymmetricKey sKey, byte[] iv) | |
| validateKeyGenRandom | back to summary |
|---|---|
| pack-priv static void validateKeyGenRandom(SecureRandom random, int securityStrength, FipsAlgorithm algorithm) | |
| validateKeyPairGenRandom | back to summary |
|---|---|
| pack-priv static void validateKeyPairGenRandom(SecureRandom random, int securityStrength, FipsAlgorithm algorithm) | |
| validateRandom | back to summary |
|---|---|
| pack-priv static void validateRandom(SecureRandom random, String message) | |
| validateRandom | back to summary |
|---|---|
| pack-priv static void validateRandom(SecureRandom random, FipsAlgorithm algorithm, String message) | |
| validateRandom | back to summary |
|---|---|
| pack-priv static void validateRandom(SecureRandom random, int securityStrength, FipsAlgorithm algorithm, String message) | |
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| TestSecureRandom | back to summary |
|---|---|
| public TestSecureRandom() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| RandomProvider | back to summary |
|---|---|
| pack-priv RandomProvider() | |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicLong |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected byte[] | engineGenerateSeed(int
the number of seed bytes to generate. numBytes)Implements abstract java. |
| protected void | engineNextBytes(byte[]
the array to be filled in with random bytes. bytes)Implements abstract java. |
| protected void | engineSetSeed(byte[]
the seed. bytes)Implements abstract java. |
| counter | back to summary |
|---|---|
| private final AtomicLong counter | |
| RandomSpi | back to summary |
|---|---|
| private RandomSpi() | |
| engineGenerateSeed | back to summary |
|---|---|
| protected byte[] engineGenerateSeed(int numBytes) Implements abstract java. Doc from java. Returns the given number of seed bytes. This call may be used to seed other random number generators.
| |
| engineNextBytes | back to summary |
|---|---|
| protected void engineNextBytes(byte[] bytes) Implements abstract java. Doc from java. Generates a user-specified number of random bytes.
Some random number generators can only generate a limited amount
of random bytes per invocation. If the size of
| |
| engineSetSeed | back to summary |
|---|---|
| protected void engineSetSeed(byte[] bytes) Implements abstract java. Doc from java. Reseeds this random object with the given seed. The seed supplements, rather than replaces, the existing seed. Thus, repeated calls are guaranteed never to reduce randomness.
| |