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 Details

    • PrecomputedDigestCalculatorProvider

      public PrecomputedDigestCalculatorProvider(DigestDocument digestDocument)
      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 interface org.bouncycastle.operator.DigestCalculatorProvider
      Throws:
      org.bouncycastle.operator.OperatorCreationException