|
For the latest news and information visit The GNU Crypto project |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.crypto.prng.PRNGFactory
A Factory to instantiate pseudo random number generators.
Field Summary |
Method Summary | |
static IRandom |
getInstance(java.lang.String prng)
Returns an instance of a padding algorithm given its name. |
static java.util.Set |
getNames()
Returns a Set of names of padding algorithms supported by this
Factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final IRandom getInstance(java.lang.String prng)
Returns an instance of a padding algorithm given its name.
prng
- the case-insensitive name of the PRNG.
java.lang.InternalError
- if the implementation does not pass its self-
test.public static final java.util.Set getNames()
Returns a Set
of names of padding algorithms supported by this
Factory.
Set
of pseudo-random number generator algorithm names
(Strings).
|
For the latest news and information visit The GNU Crypto project |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |