Package org.digidoc4j
Enum SignatureProfile
- All Implemented Interfaces:
Serializable
,Comparable<SignatureProfile>
,java.lang.constant.Constable
Signature profile format.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionno profile (baseline)no profile (baseline) with signature id (compatible with BDoc)Signature with Long Term Data - Timestamp and OCSP confirmation (ASIC-E format)Time-mark, similar to LT (BDoc 2.1 format).Archive timestamp, same as XAdES LTA (Long Term Archive time-stamp)Signature with a timestamp - Timestamp without OCSP confirmation -
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureProfile
findByProfile
(String profile) Find SignatureProfile by profile string.static SignatureProfile
Returns the enum constant of this type with the specified name.static SignatureProfile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
LT_TM
Time-mark, similar to LT (BDoc 2.1 format). -
LT
Signature with Long Term Data - Timestamp and OCSP confirmation (ASIC-E format) -
LTA
Archive timestamp, same as XAdES LTA (Long Term Archive time-stamp) -
T
Signature with a timestamp - Timestamp without OCSP confirmation -
B_BES
no profile (baseline) -
B_EPES
no profile (baseline) with signature id (compatible with BDoc)
-
-
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
-
findByProfile
Find SignatureProfile by profile string.- Parameters:
profile
-- Returns:
- SignatureProfile.
-