Class HTTPHeaderDigest

java.lang.Object
eu.europa.esig.dss.jades.HTTPHeader
eu.europa.esig.dss.jades.HTTPHeaderDigest
All Implemented Interfaces:
DSSDocument, Serializable

public class HTTPHeaderDigest extends HTTPHeader
An HTTP message body, which 'Digest' representation is being signed with 'sigD' HTTP_HEADERS mechanism
See Also:
  • Constructor Details

    • HTTPHeaderDigest

      public HTTPHeaderDigest(DSSDocument messageBodyDocument, DigestAlgorithm digestAlgorithm)
      The default constructor
      Parameters:
      messageBodyDocument - DSSDocument the signing message body document content
      digestAlgorithm - DigestAlgorithm to use to compute the document's Digest element
  • Method Details

    • getMessageBodyDocument

      public DSSDocument getMessageBodyDocument()
      Returns the original HTTP Message Body Document
      Returns:
      DSSDocument