Package eu.europa.esig.dss.enumerations
Enum Indication
- java.lang.Object
-
- java.lang.Enum<Indication>
-
- eu.europa.esig.dss.enumerations.Indication
-
- All Implemented Interfaces:
UriBasedEnum,Serializable,Comparable<Indication>
public enum Indication extends Enum<Indication> implements UriBasedEnum
The list of possible values for indications. Source ETSI EN 319 102-1
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILEDWhen an individual constrain validation failsINDETERMINATEThe results of the performed checks do not allow to ascertain the signature to be TOTAL-PASSED or TOTAL-FAILED.NO_SIGNATURE_FOUNDWhen no signature is found within the document (empty report is not permitted)PASSEDWhen an individual constrain validation succeedsTOTAL_FAILEDWhen the cryptographic checks of the signature (including checks of hashes of individual data objects that have been signed indirectly) succeeded as well as all checks prescribed by the signature validation policy have been passed.TOTAL_PASSEDWhen the cryptographic checks of the signature (including checks of hashes of individual data objects that have been signed indirectly) succeeded as well as all checks prescribed by the signature validation policy have been passed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetUri()Returns a URIstatic IndicationvalueOf(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
-
TOTAL_PASSED
public static final Indication TOTAL_PASSED
When the cryptographic checks of the signature (including checks of hashes of individual data objects that have been signed indirectly) succeeded as well as all checks prescribed by the signature validation policy have been passed.
-
TOTAL_FAILED
public static final Indication TOTAL_FAILED
When the cryptographic checks of the signature (including checks of hashes of individual data objects that have been signed indirectly) succeeded as well as all checks prescribed by the signature validation policy have been passed.
-
INDETERMINATE
public static final Indication INDETERMINATE
The results of the performed checks do not allow to ascertain the signature to be TOTAL-PASSED or TOTAL-FAILED.
-
PASSED
public static final Indication PASSED
When an individual constrain validation succeeds
-
FAILED
public static final Indication FAILED
When an individual constrain validation fails
-
NO_SIGNATURE_FOUND
public static final Indication NO_SIGNATURE_FOUND
When no signature is found within the document (empty report is not permitted)
-
-
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(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
-
getUri
public String getUri()
Description copied from interface:UriBasedEnumReturns a URI- Specified by:
getUriin interfaceUriBasedEnum- Returns:
String
-
-