| java.lang.Object | |
| ↳ | java.security.SecureRandomSpi |
SecureRandomSpi is the Service Provider Interface (SPI) definition
for SecureRandom.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates and returns the specified number of seed bytes, computed using
the seed generation algorithm used by this
SecureRandomSpi.
| |||||||||||
Generates and stores random bytes in the given
byte[] for each
array element.
| |||||||||||
Reseeds this
SecureRandomSpi instance with the specified seed.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Generates and returns the specified number of seed bytes, computed using
the seed generation algorithm used by this SecureRandomSpi.
| numBytes | the number of seed bytes. |
|---|
Generates and stores random bytes in the given byte[] for each
array element.
| bytes | the byte[] to be filled with random bytes.
|
|---|
Reseeds this SecureRandomSpi instance with the specified seed. The seed of this SecureRandomSpi instance is supplemented,
not replaced.
| seed | the new seed. |
|---|