public enum RngAlgorithm extends Enum<RngAlgorithm> implements Algorithm
RngAlgorithm provides algorithms for generation of random number generator (RNG)
that are used with the SecureRandom object. | Enum Constant and Description |
|---|
NativePRNG
The Native PRNG.
|
NativePRNGBlocking
The Native PRNG blocking.
|
NativePRNGNonBlocking
The Native PRNG non blocking.
|
PKCS11
The pkcs11.
|
SHA1PRNG
The sha1prng.
|
Windows_PRNG
The Windows PRNG.
|
| Modifier and Type | Method and Description |
|---|---|
static RngAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RngAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetAlgorithmpublic static final RngAlgorithm PKCS11
public static final RngAlgorithm NativePRNG
public static final RngAlgorithm SHA1PRNG
public static final RngAlgorithm NativePRNGBlocking
public static final RngAlgorithm NativePRNGNonBlocking
public static final RngAlgorithm Windows_PRNG
public static RngAlgorithm[] values()
for (RngAlgorithm c : RngAlgorithm.values()) System.out.println(c);
public static RngAlgorithm valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.