Class SignatureDigestReference

java.lang.Object
eu.europa.esig.dss.validation.SignatureDigestReference

public class SignatureDigestReference extends Object
A signature reference element references a specific electronic signature. Contains Digest of a referenced signature
  • Constructor Details

    • SignatureDigestReference

      public SignatureDigestReference(Digest digest)
      The default constructor
      Parameters:
      digest - Digest
    • SignatureDigestReference

      public SignatureDigestReference(String canonicalizationMethod, Digest digest)
      The constructor for XAdES Signature Digest Reference
      Parameters:
      canonicalizationMethod - String canonicalization method uri
      digest - Digest
  • Method Details

    • getCanonicalizationMethod

      public String getCanonicalizationMethod()
      Returns canonicalization method used to calculate digest
      Returns:
      String
    • getDigestAlgorithm

      public DigestAlgorithm getDigestAlgorithm()
      Returns DigestAlgorithm used to calculate digest value
      Returns:
      DigestAlgorithm
    • getDigestValue

      public byte[] getDigestValue()
      Returns calculated digest value
      Returns:
      byte array