public final class PK11SecureRandom extends java.lang.Object implements JSSSecureRandom
CryptoManager| Constructor and Description |
|---|
PK11SecureRandom() |
| Modifier and Type | Method and Description |
|---|---|
void |
nextBytes(byte[] bytes)
Retrieves random bytes and stores them in the given array.
|
void |
setSeed(byte[] seed)
Seed the RNG with the given seed bytes.
|
void |
setSeed(long seed)
Seed the RNG with the eight bytes contained in
seed. |
public void setSeed(byte[] seed)
JSSSecureRandomsetSeed in interface JSSSecureRandomseed - Seed.public void setSeed(long seed)
JSSSecureRandomseed.setSeed in interface JSSSecureRandomseed - Seed.public void nextBytes(byte[] bytes)
JSSSecureRandomnextBytes in interface JSSSecureRandombytes - Array to store random bytes.