|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.SecureRandomSpi
public abstract class SecureRandomSpi
SecureRandomSpi is the Service Provider Interface for SecureRandom providers. It provides an interface for providers to the SecureRandom engine to write their own pseudo-random number generator.
Constructor Summary | |
---|---|
SecureRandomSpi()
Default Constructor for SecureRandomSpi |
Method Summary | |
---|---|
protected abstract byte[] |
engineGenerateSeed(int numBytes)
Gets a user specified number of bytes specified by the parameter. |
protected abstract void |
engineNextBytes(byte[] bytes)
Gets a user specified number of bytes depending on the length of the array? |
protected abstract void |
engineSetSeed(byte[] seed)
Updates the seed for SecureRandomSpi but does not reset seed. |
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 void engineSetSeed(byte[] seed)
protected abstract void engineNextBytes(byte[] bytes)
bytes
- array to fill with random bytesprotected abstract byte[] engineGenerateSeed(int numBytes)
numBytes
- number of random bytes to generate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |