Package com.pdftools.crypto
Enum SignatureFormat
- All Implemented Interfaces:
Serializable,Comparable<SignatureFormat>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLegacy PAdES Basic signature (PDF 1.6)PAdES signature (PDF 2.0) -
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureFormatReturns the enum constant of this type with the specified name.static SignatureFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADBE_PKCS7_DETACHED
Legacy PAdES Basic signature (PDF 1.6)
Legacy PAdES Basic signature specified by ETSI TS 102 778, Part 2. This type can be used for document signatures and certification (MDP) signatures. -
ETSI_CADES_DETACHED
PAdES signature (PDF 2.0)
PAdES signature as specified by European Standard ETSI EN 319 142. This type can be used for document signatures and certification (MDP) signatures.
-
-
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 nameNullPointerException- if the argument is null
-