public enum SigAlgo extends Enum<SigAlgo>
Enum Constant and Description |
---|
DSA |
EC |
EdDSA |
ElGamal
For local use only, not for use in the network.
|
RSA
For local use only, not for use in the network.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static SigAlgo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SigAlgo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SigAlgo DSA
public static final SigAlgo EC
public static final SigAlgo EdDSA
public static final SigAlgo RSA
public static final SigAlgo ElGamal
public static SigAlgo[] values()
for (SigAlgo c : SigAlgo.values()) System.out.println(c);
public static SigAlgo 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 getName()