|
|||||||||
| 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.jce.provider.test.BlockCipherTest.FixedSecureRandom
private class BlockCipherTest.FixedSecureRandom
a fake random number generator - we just want to make sure the random numbers aren't random so that we get the same output, while still getting to test the key generation facilities.
| Field Summary | |
|---|---|
(package private) byte[] |
seed
|
| Constructor Summary | |
|---|---|
private |
BlockCipherTest.FixedSecureRandom()
|
| Method Summary | |
|---|---|
void |
nextBytes(byte[] bytes)
|
| Methods inherited from class java.security.SecureRandom |
|---|
generateSeed, getAlgorithm, getInstance, getInstance, getInstance, getProvider, getSeed, next, setSeed, setSeed |
| Methods inherited from class java.util.Random |
|---|
nextBoolean, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
byte[] seed
| Constructor Detail |
|---|
private BlockCipherTest.FixedSecureRandom()
| Method Detail |
|---|
public void nextBytes(byte[] bytes)
nextBytes in class java.security.SecureRandom
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||