public enum EncryptionAlgorithm extends Enum<EncryptionAlgorithm>
Enum Constant and Description |
---|
RSA_SHA_256
RSA with SHA 256.
|
RSA_SHA_384
RSA with SHA 384.
|
RSA_SHA_512
RSA with SHA 512.
|
Modifier and Type | Method and Description |
---|---|
static EncryptionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionAlgorithm RSA_SHA_256
public static final EncryptionAlgorithm RSA_SHA_384
public static final EncryptionAlgorithm RSA_SHA_512
public static EncryptionAlgorithm[] values()
for (EncryptionAlgorithm c : EncryptionAlgorithm.values()) System.out.println(c);
public static EncryptionAlgorithm 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 null