public enum Mgf1Scheme extends Enum<Mgf1Scheme>
| Enum Constant and Description |
|---|
MGF1_SHA1 |
MGF1_SHA256 |
| Modifier and Type | Method and Description |
|---|---|
MGF1ParameterSpec |
getMgf1ParameterSpec() |
static Mgf1Scheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mgf1Scheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mgf1Scheme MGF1_SHA1
public static final Mgf1Scheme MGF1_SHA256
public static Mgf1Scheme[] values()
for (Mgf1Scheme c : Mgf1Scheme.values()) System.out.println(c);
public static Mgf1Scheme 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 MGF1ParameterSpec getMgf1ParameterSpec()