Class NonASN1SignaturePolicyValidator
java.lang.Object
eu.europa.esig.dss.validation.policy.AbstractSignaturePolicyValidator
eu.europa.esig.dss.validation.policy.NonASN1SignaturePolicyValidator
- All Implemented Interfaces:
SignaturePolicyValidator
This class covers the case of non ASN1 signature policies (e.g. : PDF file and its digest)
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.policy.AbstractSignaturePolicyValidator
GENERAL_ERROR_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canValidate
(SignaturePolicy signaturePolicy) Checks if the SignaturePolicy can be validatedvalidate
(SignaturePolicy signaturePolicy) Performs aSignaturePolicy
validationMethods inherited from class eu.europa.esig.dss.validation.policy.AbstractSignaturePolicyValidator
getComputedDigest
-
Constructor Details
-
NonASN1SignaturePolicyValidator
public NonASN1SignaturePolicyValidator()Default constructor
-
-
Method Details
-
canValidate
Description copied from interface:SignaturePolicyValidator
Checks if the SignaturePolicy can be validated- Parameters:
signaturePolicy
-SignaturePolicy
to check- Returns:
- TRUE if the
SignaturePolicy
can be validated, FALSE otherwise
-
validate
Description copied from interface:SignaturePolicyValidator
Performs aSignaturePolicy
validation- Parameters:
signaturePolicy
-SignaturePolicy
to be validated- Returns:
SignaturePolicyValidationResult
-