org.bouncycastle.util.test

Class FixedSecureRandom

public class FixedSecureRandom extends SecureRandom

Constructor Summary
FixedSecureRandom(byte[] value)
FixedSecureRandom(byte[][] values)
FixedSecureRandom(boolean intPad, byte[] value)
Pad the data on integer boundaries.
FixedSecureRandom(boolean intPad, byte[][] values)
Pad the data on integer boundaries.
Method Summary
booleanisExhausted()
voidnextBytes(byte[] bytes)
intnextInt()
longnextLong()

Constructor Detail

FixedSecureRandom

public FixedSecureRandom(byte[] value)

FixedSecureRandom

public FixedSecureRandom(byte[][] values)

FixedSecureRandom

public FixedSecureRandom(boolean intPad, byte[] value)
Pad the data on integer boundaries. This is necessary for the classpath project's BigInteger implementation.

FixedSecureRandom

public FixedSecureRandom(boolean intPad, byte[][] values)
Pad the data on integer boundaries. This is necessary for the classpath project's BigInteger implementation.

Method Detail

isExhausted

public boolean isExhausted()

nextBytes

public void nextBytes(byte[] bytes)

nextInt

public int nextInt()

nextLong

public long nextLong()