Package de.tsenger.vdstools.idb
Enum IdbSignatureAlgorithm
- java.lang.Object
-
- java.lang.Enum<IdbSignatureAlgorithm>
-
- de.tsenger.vdstools.idb.IdbSignatureAlgorithm
-
- All Implemented Interfaces:
Serializable,Comparable<IdbSignatureAlgorithm>
public enum IdbSignatureAlgorithm extends Enum<IdbSignatureAlgorithm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SHA256_WITH_ECDSASHA384_WITH_ECDSASHA512_WITH_ECDSA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetValue()static IdbSignatureAlgorithmvalueOf(byte value)Returns the enum constant of this type with the specified name.static IdbSignatureAlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static IdbSignatureAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHA256_WITH_ECDSA
public static final IdbSignatureAlgorithm SHA256_WITH_ECDSA
-
SHA384_WITH_ECDSA
public static final IdbSignatureAlgorithm SHA384_WITH_ECDSA
-
SHA512_WITH_ECDSA
public static final IdbSignatureAlgorithm SHA512_WITH_ECDSA
-
-
Method Detail
-
values
public static IdbSignatureAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IdbSignatureAlgorithm c : IdbSignatureAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdbSignatureAlgorithm valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
public static IdbSignatureAlgorithm valueOf(byte value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public byte getValue()
-
-