|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Random
java.security.SecureRandom
org.bouncycastle.util.test.FixedSecureRandom
org.bouncycastle.util.test.TestRandomData
A fixed secure random designed to return data for someone needing random bytes.
Nested Class Summary |
Nested classes inherited from class org.bouncycastle.util.test.FixedSecureRandom |
FixedSecureRandom.BigInteger, FixedSecureRandom.Data, FixedSecureRandom.Source |
Constructor Summary | |
TestRandomData(byte[] encoding)
Constructor from an array of bytes. |
|
TestRandomData(java.lang.String encoding)
Constructor from a Hex encoding of the data. |
Methods inherited from class org.bouncycastle.util.test.FixedSecureRandom |
generateSeed, isExhausted, nextBytes, nextInt, nextLong |
Methods inherited from class java.security.SecureRandom |
getInstance, getInstance, getInstance, getProvider, getSeed, next, setSeed, setSeed |
Methods inherited from class java.util.Random |
nextBoolean, nextDouble, nextFloat, nextGaussian, nextInt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestRandomData(java.lang.String encoding)
encoding
- a Hex encoding of the data to be returned.public TestRandomData(byte[] encoding)
encoding
- a byte array representing the data to be returned.
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |