Package eu.europa.esig.dss.jades
Class HTTPHeaderDigest
java.lang.Object
eu.europa.esig.dss.jades.HTTPHeader
eu.europa.esig.dss.jades.HTTPHeaderDigest
- All Implemented Interfaces:
DSSDocument
,Serializable
An HTTP message body, which 'Digest' representation is being signed with 'sigD' HTTP_HEADERS mechanism
- See Also:
-
Constructor Summary
ConstructorDescriptionHTTPHeaderDigest
(DSSDocument messageBodyDocument, DigestAlgorithm digestAlgorithm) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the original HTTP Message Body DocumentMethods inherited from class eu.europa.esig.dss.jades.HTTPHeader
getDigest, getMimeType, getName, getValue, openStream, save, setMimeType, setName, setValue, writeTo
-
Constructor Details
-
HTTPHeaderDigest
The default constructor- Parameters:
messageBodyDocument
-DSSDocument
the signing message body document contentdigestAlgorithm
-DigestAlgorithm
to use to compute the document's Digest element
-
-
Method Details
-
getMessageBodyDocument
Returns the original HTTP Message Body Document- Returns:
DSSDocument
-