Package net.webpdf.wsclient.openapi
Enum ApplicationConfigTsa.HashAlgorithmEnum
- java.lang.Object
-
- java.lang.Enum<ApplicationConfigTsa.HashAlgorithmEnum>
-
- net.webpdf.wsclient.openapi.ApplicationConfigTsa.HashAlgorithmEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ApplicationConfigTsa.HashAlgorithmEnum>
- Enclosing class:
- ApplicationConfigTsa
public static enum ApplicationConfigTsa.HashAlgorithmEnum extends Enum<ApplicationConfigTsa.HashAlgorithmEnum>
The hashing algorithm used to check the validity of the timestamp.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationConfigTsa.HashAlgorithmEnumfromValue(String value)StringgetValue()StringtoString()static ApplicationConfigTsa.HashAlgorithmEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ApplicationConfigTsa.HashAlgorithmEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MD5
public static final ApplicationConfigTsa.HashAlgorithmEnum MD5
-
SHA_1
public static final ApplicationConfigTsa.HashAlgorithmEnum SHA_1
-
SHA_224
public static final ApplicationConfigTsa.HashAlgorithmEnum SHA_224
-
SHA_256
public static final ApplicationConfigTsa.HashAlgorithmEnum SHA_256
-
SHA_384
public static final ApplicationConfigTsa.HashAlgorithmEnum SHA_384
-
SHA_512
public static final ApplicationConfigTsa.HashAlgorithmEnum SHA_512
-
-
Method Detail
-
values
public static ApplicationConfigTsa.HashAlgorithmEnum[] 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 (ApplicationConfigTsa.HashAlgorithmEnum c : ApplicationConfigTsa.HashAlgorithmEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationConfigTsa.HashAlgorithmEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ApplicationConfigTsa.HashAlgorithmEnum>
-
fromValue
public static ApplicationConfigTsa.HashAlgorithmEnum fromValue(String value)
-
-