|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindbright.jca.security.SecureRandomSpi
Interface for random number generators
| Constructor Summary | |
SecureRandomSpi()
|
|
| Method Summary | |
protected abstract byte[] |
engineGenerateSeed(int numBytes)
Generate a number of random seed bytes. |
protected abstract void |
engineNextBytes(byte[] bytes)
Generate random bytes |
protected abstract void |
engineSetSeed(byte[] seed)
Set the seed used by the random number generator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SecureRandomSpi()
| Method Detail |
protected abstract byte[] engineGenerateSeed(int numBytes)
numBytes - how many bytes to generate
protected abstract void engineNextBytes(byte[] bytes)
bytes - array which should be filled with random bytesprotected abstract void engineSetSeed(byte[] seed)
seed - an array of random bytes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||