Class AbstractSignaturePolicyValidator
java.lang.Object
eu.europa.esig.dss.validation.policy.AbstractSignaturePolicyValidator
- All Implemented Interfaces:
SignaturePolicyValidator
- Direct Known Subclasses:
BasicASNSignaturePolicyValidator
,EmptySignaturePolicyValidator
,NonASN1SignaturePolicyValidator
,XMLSignaturePolicyValidator
,ZeroHashSignaturePolicyValidator
public abstract class AbstractSignaturePolicyValidator
extends Object
implements SignaturePolicyValidator
The abstract implementation of
SignaturePolicyValidator
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
The error key to be used for general errors -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) ReturnsDigest
on the computed SignaturePolicy's contentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.europa.esig.dss.validation.policy.SignaturePolicyValidator
canValidate, validate
-
Field Details
-
GENERAL_ERROR_KEY
The error key to be used for general errors- See Also:
-
-
Constructor Details
-
AbstractSignaturePolicyValidator
protected AbstractSignaturePolicyValidator()Default constructor
-
-
Method Details
-
getComputedDigest
Description copied from interface:SignaturePolicyValidator
ReturnsDigest
on the computed SignaturePolicy's content- Specified by:
getComputedDigest
in interfaceSignaturePolicyValidator
- Parameters:
policyDocument
-DSSDocument
the policy contentdigestAlgorithm
-DigestAlgorithm
to use- Returns:
Digest
-