public class FixedSecureRandom extends SecureRandom
Modifier and Type | Class and Description |
---|---|
static class |
FixedSecureRandom.BigInteger
BigInteger Source - in this case we expect requests for data that will be used
for BigIntegers.
|
static class |
FixedSecureRandom.Data
Data Source - in this case we just expect requests for byte arrays.
|
static class |
FixedSecureRandom.Source
Base class for sources of fixed "Randomness"
|
Constructor and Description |
---|
FixedSecureRandom(byte[] value) |
FixedSecureRandom(byte[][] values) |
FixedSecureRandom(FixedSecureRandom.Source[] sources) |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateSeed(int numBytes) |
boolean |
isExhausted() |
void |
nextBytes(byte[] bytes) |
int |
nextInt() |
long |
nextLong() |
getAlgorithm, getInstance, getInstance, getInstance, getInstanceStrong, getProvider, getSeed, next, setSeed, setSeed
public FixedSecureRandom(byte[] value)
public FixedSecureRandom(byte[][] values)
public FixedSecureRandom(FixedSecureRandom.Source[] sources)
public void nextBytes(byte[] bytes)
nextBytes
in class SecureRandom
public byte[] generateSeed(int numBytes)
generateSeed
in class SecureRandom
public boolean isExhausted()
Copyright © 2017 BouncyCastle.org. All rights reserved.