|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.atlassian.security.random.SecureRandomFactory
public final class SecureRandomFactory
A factory which returns properly initialised instances of SecureRandom.
SecureRandomService
or SecureTokenGenerator for their random data generation.
| Method Summary | |
|---|---|
static java.security.SecureRandom |
newInstance()
Creates and fully initialises a new SecureRandom instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.security.SecureRandom newInstance()
SecureRandom instance.
The instance is created via SecureRandom.SecureRandom(), which uses the default algorithm
provided by the JVM.
The initialisation involves forcing the self-seeding of the instance by calling
SecureRandom.nextBytes(byte[]).
SecureRandom instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||