Package eu.europa.esig.dss.enumerations
Enum Class ValidationDataEncapsulationStrategy
java.lang.Object
java.lang.Enum<ValidationDataEncapsulationStrategy>
eu.europa.esig.dss.enumerations.ValidationDataEncapsulationStrategy
- All Implemented Interfaces:
Serializable
,Comparable<ValidationDataEncapsulationStrategy>
,Constable
This list contains enumerations for definition of a type of validation data container to be used
on signature augmentation (such as -LT level or -LTA-LT)
NOTE: Currently the applicability of the enumeration is limited to XAdES and JAdES signature formats
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis constraint defines an augmentation approach compliant with ETSI EN 319 132-1 v1.3.1, where: - LT-level validation data is being included within the AnyValidationData element; - LTA-LT level validation data is being added within AnyValidationData element, containing both the missing validation data for the signature and timestamps, intermixed.This constraint defines an augmentation approach compliant with ETSI EN 319 132-1 v1.3.1, where: - LT-level validation data for a signature is being included within corresponding CertificateValues/RevocationValues elements, while the validation data for incorporated time-stamps is included within AnyValidationData element; - LTA-LT level validation data is being added within AnyValidationData element, containing both the missing validation data for the signature and timestamps, intermixed.This constraint defines a "classic" augmentation approach used in old versions of DSS, with: - LT-level validation data is being included within corresponding CertificateValues/RevocationValues elements; - LTA-LT level validation data is being added within TimeStampValidationData element, containing both the missing validation data for the signature and timestamps, intermixed.This constraint defines a complete augmentation approach compliant with ETSI EN 319 132-1 v1.3.1, where: - LT-level validation data for a signature is being included within corresponding CertificateValues/RevocationValues elements, while the validation data for incorporated time-stamps is included within TimeStampValidationData element; - LTA-LT level validation data for timestamps is being added within TimeStampValidationData element, while the missing validation information for the signature is being included within the AnyValidationData element.This constraint defines an augmentation approach without using AnyValidationData element, where: - LT-level validation data for a signature is being included within corresponding CertificateValues/RevocationValues elements, while the validation data for incorporated time-stamps is included within TimeStampValidationData element; - LTA-LT level validation data is being added within TimeStampValidationData element, containing both the missing validation data for the signature and timestamps, intermixed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ValidationDataEncapsulationStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CERTIFICATE_REVOCATION_VALUES_AND_TIMESTAMP_VALIDATION_DATA
public static final ValidationDataEncapsulationStrategy CERTIFICATE_REVOCATION_VALUES_AND_TIMESTAMP_VALIDATION_DATAThis constraint defines a "classic" augmentation approach used in old versions of DSS, with: - LT-level validation data is being included within corresponding CertificateValues/RevocationValues elements; - LTA-LT level validation data is being added within TimeStampValidationData element, containing both the missing validation data for the signature and timestamps, intermixed. NOTE: this method should not be used for any but legacy applications. -
CERTIFICATE_REVOCATION_VALUES_AND_TIMESTAMP_VALIDATION_DATA_LT_SEPARATED
public static final ValidationDataEncapsulationStrategy CERTIFICATE_REVOCATION_VALUES_AND_TIMESTAMP_VALIDATION_DATA_LT_SEPARATEDThis constraint defines an augmentation approach without using AnyValidationData element, where: - LT-level validation data for a signature is being included within corresponding CertificateValues/RevocationValues elements, while the validation data for incorporated time-stamps is included within TimeStampValidationData element; - LTA-LT level validation data is being added within TimeStampValidationData element, containing both the missing validation data for the signature and timestamps, intermixed. -
CERTIFICATE_REVOCATION_VALUES_AND_TIMESTAMP_VALIDATION_DATA_AND_ANY_VALIDATION_DATA
public static final ValidationDataEncapsulationStrategy CERTIFICATE_REVOCATION_VALUES_AND_TIMESTAMP_VALIDATION_DATA_AND_ANY_VALIDATION_DATAThis constraint defines a complete augmentation approach compliant with ETSI EN 319 132-1 v1.3.1, where: - LT-level validation data for a signature is being included within corresponding CertificateValues/RevocationValues elements, while the validation data for incorporated time-stamps is included within TimeStampValidationData element; - LTA-LT level validation data for timestamps is being added within TimeStampValidationData element, while the missing validation information for the signature is being included within the AnyValidationData element. -
CERTIFICATE_REVOCATION_VALUES_AND_ANY_VALIDATION_DATA
public static final ValidationDataEncapsulationStrategy CERTIFICATE_REVOCATION_VALUES_AND_ANY_VALIDATION_DATAThis constraint defines an augmentation approach compliant with ETSI EN 319 132-1 v1.3.1, where: - LT-level validation data for a signature is being included within corresponding CertificateValues/RevocationValues elements, while the validation data for incorporated time-stamps is included within AnyValidationData element; - LTA-LT level validation data is being added within AnyValidationData element, containing both the missing validation data for the signature and timestamps, intermixed. -
ANY_VALIDATION_DATA_ONLY
This constraint defines an augmentation approach compliant with ETSI EN 319 132-1 v1.3.1, where: - LT-level validation data is being included within the AnyValidationData element; - LTA-LT level validation data is being added within AnyValidationData element, containing both the missing validation data for the signature and timestamps, intermixed.
-
-
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
-