Package org.bouncycastle.util.test
Classes for providing "fixed entropy" and "fixed randomness" for testing purposes.
-
Class Summary Class Description FixedEntropySourceProvider An "entropy" provider which returns pre-defined data on request.FixedSecureRandom A secure random that returns pre-seeded data to calls of nextBytes() or generateSeed().FixedSecureRandom.BigInteger BigInteger Source - in this case we expect requests for data that will be used for BigIntegers.FixedSecureRandom.Data Data Source - in this case we just expect requests for byte arrays.FixedSecureRandom.Source Base class for sources of fixed "Randomness"TestRandomBigInteger A fixed secure random designed to return data for someone needing to create a single BigInteger.TestRandomData A fixed secure random designed to return data for someone needing random bytes.TestRandomEntropySourceProvider A class for returning "quick entropy" for testing purposes.