Package eu.europa.esig.dss.tsl.download
Class XmlDownloadResult
java.lang.Object
eu.europa.esig.dss.tsl.download.XmlDownloadResult
- All Implemented Interfaces:
CachedResult
public class XmlDownloadResult extends Object implements CachedResult
Defines the download result
-
Constructor Summary
Constructors Constructor Description XmlDownloadResult(DSSDocument dssDocument, Digest digest)Default constructor -
Method Summary
Modifier and Type Method Description DigestgetDigest()Gets digest of a canonicalized documentDSSDocumentgetDSSDocument()Gets the downloaded document
-
Constructor Details
-
XmlDownloadResult
Default constructor- Parameters:
dssDocument-DSSDocumentdownloaded documentdigest-Digestof the canonicalized document
-
-
Method Details
-
getDSSDocument
Gets the downloaded document- Returns:
DSSDocument
-
getDigest
Gets digest of a canonicalized document- Returns:
Digest
-