Package com.pdftools.signaturevalidation
Enum Indication
- java.lang.Object
-
- java.lang.Enum<Indication>
-
- com.pdftools.signaturevalidation.Indication
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Indication>
public enum Indication extends java.lang.Enum<Indication>
Main status indication of the signature validation process
See ETSI TS 102 853 and ETSI EN 319 102-1.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDETERMINATE
The available information is insufficient to determine whether the signature is valid or invalid.INVALID
The constraint is invalid according to the chosen signature validation profile.VALID
The constraint is valid according to the chosen signature validation profile.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Indication
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Indication[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALID
public static final Indication VALID
The constraint is valid according to the chosen signature validation profile.
-
INVALID
public static final Indication INVALID
The constraint is invalid according to the chosen signature validation profile.
-
INDETERMINATE
public static final Indication INDETERMINATE
The available information is insufficient to determine whether the signature is valid or invalid.
-
-
Method Detail
-
values
public static Indication[] 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 (Indication c : Indication.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Indication valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-