Enum Class CAdESLevel
- All Implemented Interfaces:
Serializable, Comparable<CAdESLevel>, Constable
CAdES baseline profile levels per ETSI EN 319 122-1, with the
older RFC 5126 names alongside for callers that still target the
legacy specification. Each level is a strict superset of the one before it.
B_B(BES) — basic electronic signature: CMS SignedData with the mandatory ESS signing-certificate(-v2) reference and optional commitment-type, signature-policy, signer-location and content-hints signed attributes.B_T(T) — B-B plus anid-aa-signatureTimeStampTokenunsigned attribute carrying an RFC 3161 token over the SignerInfo signature value.B_LT(C/X-L) — B-T plus complete certificate / revocation references and the corresponding certificate / revocation value sets needed for offline long-term validation.B_LTA(A) — B-LT plus one or moreid-aa-ets-archiveTimestampV3unsigned attributes that protect the entire signature against weakening of the original signature algorithm.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CAdESLevelLegacy RFC 5126 alias forB_B.static final CAdESLevelLegacy RFC 5126 alias forB_T. -
Method Summary
Modifier and TypeMethodDescriptionstatic CAdESLevelReturns the enum constant of this class with the specified name.static CAdESLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
B_B
ETSI EN 319 122-1 B-B / RFC 5126 BES. -
B_T
ETSI EN 319 122-1 B-T / RFC 5126 T. -
B_LT
ETSI EN 319 122-1 B-LT / RFC 5126 C-X-L. -
B_LTA
ETSI EN 319 122-1 B-LTA / RFC 5126 A.
-
-
Field Details
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-