Class PrecomputedDigestCalculatorProvider
java.lang.Object
eu.europa.esig.dss.cades.validation.PrecomputedDigestCalculatorProvider
- All Implemented Interfaces:
org.bouncycastle.operator.DigestCalculatorProvider
public class PrecomputedDigestCalculatorProvider
extends Object
implements org.bouncycastle.operator.DigestCalculatorProvider
This class allows to provide digest values without original document
-
Constructor Summary
ConstructorDescriptionPrecomputedDigestCalculatorProvider
(DigestDocument digestDocument) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.operator.DigestCalculator
get
(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmIdentifier)
-
Constructor Details
-
PrecomputedDigestCalculatorProvider
The default constructor- Parameters:
digestDocument
-DigestDocument
to be signed
-
-
Method Details
-
get
public org.bouncycastle.operator.DigestCalculator get(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmIdentifier) throws org.bouncycastle.operator.OperatorCreationException - Specified by:
get
in interfaceorg.bouncycastle.operator.DigestCalculatorProvider
- Throws:
org.bouncycastle.operator.OperatorCreationException
-