java.lang.Object
eu.europa.esig.dss.tsl.download.XmlDownloadResult
- All Implemented Interfaces:
CachedResult
Defines the download result
-
Constructor Summary
ConstructorsConstructorDescriptionXmlDownloadResult(eu.europa.esig.dss.model.DSSDocument dssDocument, eu.europa.esig.dss.model.Digest digest) Default constructor -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.DigestGets digest of a canonicalized documenteu.europa.esig.dss.model.DSSDocumentGets the downloaded documentReturns error messages occurred during sha2 processing, if applicable
-
Constructor Details
-
XmlDownloadResult
public XmlDownloadResult(eu.europa.esig.dss.model.DSSDocument dssDocument, eu.europa.esig.dss.model.Digest digest) Default constructor- Parameters:
dssDocument-DSSDocumentdownloaded documentdigest-Digestof the canonicalized document
-
-
Method Details
-
getDSSDocument
public eu.europa.esig.dss.model.DSSDocument getDSSDocument()Gets the downloaded document- Returns:
DSSDocument
-
getDigest
public eu.europa.esig.dss.model.Digest getDigest()Gets digest of a canonicalized document- Returns:
Digest
-
getSha2ErrorMessages
Returns error messages occurred during sha2 processing, if applicable- Returns:
- a list of
Strings if errors occurred during sha2 processing, empty list otherwise
-