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 Details

    • CustomMessageDigestCalculatorProvider

      public CustomMessageDigestCalculatorProvider(DigestAlgorithm messageDigestAlgo, String messageDigestValueBase64)
      The default constructor
      Parameters:
      messageDigestAlgo - DigestAlgorithm that has been used to calculate the message-digest value
      messageDigestValueBase64 - 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 interface org.bouncycastle.operator.DigestCalculatorProvider
      Throws:
      org.bouncycastle.operator.OperatorCreationException