Package eu.europa.esig.dss.enumerations
Enum DigestMatcherType
- java.lang.Object
-
- java.lang.Enum<DigestMatcherType>
-
- eu.europa.esig.dss.enumerations.DigestMatcherType
-
- All Implemented Interfaces:
Serializable,Comparable<DigestMatcherType>
public enum DigestMatcherType extends Enum<DigestMatcherType>
Defines available types of DigestMatchers (signed data origins)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_DIGESTDigest from decrypted content SignatureValue (CAdES/PAdES)COUNTER_SIGNATUREXAdES signed SignatureValue (counter signature)COUNTER_SIGNED_SIGNATURE_VALUEDefines the signature value of a master signature signed by a counter signatureJWS_SIGNING_INPUT_DIGESTJAdES Digest on result of concatenation ASCII(BASE64URL(UTF8(JWSProtected Header)) || '.' || BASE64URL(JWS Payload))KEY_INFOXAdES KeyInfo elementMANIFESTXAdES signed manifestMANIFEST_ENTRYXAdES and ASiC CAdESMESSAGE_DIGESTCAdESMESSAGE_IMPRINTTimestampOBJECTXAdES signed reference of Object typeREFERENCEXAdES signed referenceSIG_D_ENTRYJAdES Detached entrySIGNATURE_PROPERTIESXAdES SignatureProperties elementSIGNED_PROPERTIESXAdES SignedProperties elementXPOINTERXAdES XPointer reference
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DigestMatcherTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DigestMatcherType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REFERENCE
public static final DigestMatcherType REFERENCE
XAdES signed reference
-
OBJECT
public static final DigestMatcherType OBJECT
XAdES signed reference of Object type
-
MANIFEST
public static final DigestMatcherType MANIFEST
XAdES signed manifest
-
SIGNED_PROPERTIES
public static final DigestMatcherType SIGNED_PROPERTIES
XAdES SignedProperties element
-
KEY_INFO
public static final DigestMatcherType KEY_INFO
XAdES KeyInfo element
-
SIGNATURE_PROPERTIES
public static final DigestMatcherType SIGNATURE_PROPERTIES
XAdES SignatureProperties element
-
XPOINTER
public static final DigestMatcherType XPOINTER
XAdES XPointer reference
-
MANIFEST_ENTRY
public static final DigestMatcherType MANIFEST_ENTRY
XAdES and ASiC CAdES
-
COUNTER_SIGNATURE
public static final DigestMatcherType COUNTER_SIGNATURE
XAdES signed SignatureValue (counter signature)
-
MESSAGE_DIGEST
public static final DigestMatcherType MESSAGE_DIGEST
CAdES
-
CONTENT_DIGEST
public static final DigestMatcherType CONTENT_DIGEST
Digest from decrypted content SignatureValue (CAdES/PAdES)
-
JWS_SIGNING_INPUT_DIGEST
public static final DigestMatcherType JWS_SIGNING_INPUT_DIGEST
JAdES Digest on result of concatenation ASCII(BASE64URL(UTF8(JWSProtected Header)) || '.' || BASE64URL(JWS Payload))
-
SIG_D_ENTRY
public static final DigestMatcherType SIG_D_ENTRY
JAdES Detached entry
-
COUNTER_SIGNED_SIGNATURE_VALUE
public static final DigestMatcherType COUNTER_SIGNED_SIGNATURE_VALUE
Defines the signature value of a master signature signed by a counter signature
-
MESSAGE_IMPRINT
public static final DigestMatcherType MESSAGE_IMPRINT
Timestamp
-
-
Method Detail
-
values
public static DigestMatcherType[] 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 (DigestMatcherType c : DigestMatcherType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DigestMatcherType 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
-
-