public static enum EncryptionParameters.Algorithm extends Enum<EncryptionParameters.Algorithm>
| Modifier and Type | Method and Description |
|---|---|
static EncryptionParameters.Algorithm |
fromValue(String value) |
String |
toString() |
String |
value() |
static EncryptionParameters.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionParameters.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionParameters.Algorithm RSA
public static final EncryptionParameters.Algorithm DSA
public static EncryptionParameters.Algorithm[] values()
for (EncryptionParameters.Algorithm c : EncryptionParameters.Algorithm.values()) System.out.println(c);
public static EncryptionParameters.Algorithm 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 nullpublic String toString()
toString in class Enum<EncryptionParameters.Algorithm>public String value()
public static EncryptionParameters.Algorithm fromValue(String value)
Copyright © 2017. All rights reserved.