Enum PAdESLevel
- All Implemented Interfaces:
-
Serializable,Comparable<PAdESLevel>,java.lang.constant.Constable
This enumeration holds all possible PAdES levels plus none and indeterminate, needed for when none if the levels is reached or a signature is invalid.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionB-B level provides requirements for the incorporation of signed and some unsigned attributes when the signature is generated.B-LT level provides requirements for the incorporation of all the material required for validating the signature in the signature document.B-LTA level provides requirements for the incorporation of electronic timestamps that allow validation of the signature long time after its generation.B-T level provides requirements for the generation and inclusion, for an existing signature, of a trusted token proving that the signature itself actually existed at a certain date and time.Unable to establish the PAdES levelNone of the levels criteria where met -
Method Summary
Modifier and TypeMethodDescriptionstatic PAdESLevelReturns the enum constant of this type with the specified name.static PAdESLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
None of the levels criteria where met -
INDETERMINATE
Unable to establish the PAdES level -
B_B
B-B level provides requirements for the incorporation of signed and some unsigned attributes when the signature is generated. -
B_T
B-T level provides requirements for the generation and inclusion, for an existing signature, of a trusted token proving that the signature itself actually existed at a certain date and time. -
B_LT
B-LT level provides requirements for the incorporation of all the material required for validating the signature in the signature document. This level aims to tackle the long term availability of the validation material. -
B_LTA
B-LTA level provides requirements for the incorporation of electronic timestamps that allow validation of the signature long time after its generation. This level aims to tackle the long term availability and integrity of the validation material.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 name -
NullPointerException- if the argument is null
-