|
Oracle Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10668-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.crypto.core.RandomBitsSource
oracle.security.crypto.core.SRRandomBitsSource
public class SRRandomBitsSource
| Constructor Summary | |
|---|---|
SRRandomBitsSource() |
|
| Method Summary | |
|---|---|
void |
clear()Clears out sensitive data pools within the PRNG. |
byte |
randomByte()Generate a random byte. |
byte[] |
randomBytes(byte[] bytes)Fill a byte array with random bytes. |
void |
seed(byte[] seed)Seed the PRNG with the supplied array of bytes. |
void |
seed(EntropySource egs)Seed the PRNG with a default number of bytes from the supplied entropy source. |
| Methods inherited from class oracle.security.crypto.core.RandomBitsSource |
|---|
getDefault, getRNGTest, randomBigInt, randomBigInteger, seed, setDefault |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SRRandomBitsSource()
| Method Detail |
|---|
public void clear()
RandomBitsSourceclear in class RandomBitsSourcepublic byte[] randomBytes(byte[] bytes)
randomBytes in class RandomBitsSourcepublic byte randomByte()
RandomBitsSourcerandomByte in class RandomBitsSourcepublic void seed(byte[] seed)
RandomBitsSourceseed in class RandomBitsSourcepublic void seed(EntropySource egs)
RandomBitsSourceNote that entropy source algorithms are frequently time and/or resource-intensive, which may cause significant delay before this method returns.
seed in class RandomBitsSource
|
Oracle Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10668-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||