|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.mozilla.jss.pkcs11.PK11SecureRandom
A random number generator for PKCS #11.
CryptoManager| Constructor Summary | |
PK11SecureRandom()
|
|
| Method Summary | |
void |
nextBytes(byte[] bytes)
Retrieves random bytes and stores them in the given array. |
void |
setSeed(byte[] seed)
Seed the RNG with the given seed bytes. |
void |
setSeed(long seed)
Seed the RNG with the eight bytes contained in seed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PK11SecureRandom()
| Method Detail |
public void setSeed(byte[] seed)
JSSSecureRandom
setSeed in interface JSSSecureRandompublic void setSeed(long seed)
JSSSecureRandomseed.
setSeed in interface JSSSecureRandompublic void nextBytes(byte[] bytes)
JSSSecureRandom
nextBytes in interface JSSSecureRandom
|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||