Class CustomMessageDigestCalculatorProvider
java.lang.Object
eu.europa.esig.dss.cades.signature.CustomMessageDigestCalculatorProvider
- All Implemented Interfaces:
org.bouncycastle.operator.DigestCalculatorProvider
public class CustomMessageDigestCalculatorProvider
extends Object
implements org.bouncycastle.operator.DigestCalculatorProvider
Represents a
DigestCalculatorProvider
for a message-digest calculation-
Constructor Summary
ConstructorDescriptionCustomMessageDigestCalculatorProvider
(DigestAlgorithm messageDigestAlgo, String messageDigestValueBase64) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.operator.DigestCalculator
get
(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmIdentifier)
-
Constructor Details
-
CustomMessageDigestCalculatorProvider
public CustomMessageDigestCalculatorProvider(DigestAlgorithm messageDigestAlgo, String messageDigestValueBase64) The default constructor- Parameters:
messageDigestAlgo
-DigestAlgorithm
that has been used to calculate the message-digest valuemessageDigestValueBase64
-String
base64 encoded message-digest value
-
-
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
-