public enum SignatureType extends java.lang.Enum<SignatureType>
{6F6E67EF-9A32-4084-AF84-5702679F882A}
Enum Constant and Description |
---|
Sha256
SHA256 hash.
|
X509
X.509 certificate.
|
Modifier and Type | Method and Description |
---|---|
static SignatureType |
fromValue(long v) |
static SignatureType |
fromValue(java.lang.String v) |
int |
value() |
static SignatureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignatureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignatureType X509
public static final SignatureType Sha256
public static SignatureType[] values()
for (SignatureType c : SignatureType.values()) System.out.println(c);
public static SignatureType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static SignatureType fromValue(long v)
public static SignatureType fromValue(java.lang.String v)