Uses of Class
eu.europa.esig.dss.tsl.sha2.DocumentWithSha2
-
Uses of DocumentWithSha2 in eu.europa.esig.dss.tsl.sha2
Modifier and TypeMethodDescriptionprotected DocumentWithSha2
Sha2FileCacheDataLoader.mergeDocumentWithSha2
(DSSDocument cachedDocument, DSSDocument sha2Document) This class creates aeu.europa.esig.dss.tsl.sha2.DocumentWithSha2
object by merging acachedDocument
andsha2Document
togetherModifier and TypeMethodDescriptionprotected boolean
Sha2FileCacheDataLoader.checkRefreshRequired
(DocumentWithSha2 documentWithSha2) This method checks whether the cached document should be refreshedabstract boolean
AbstractTrustedListWithSha2Predicate.test
(DocumentWithSha2 documentWithSha2) This method evaluates whether the sha2 digest match the original documentboolean
DefaultTrustedListWithSha2Predicate.test
(DocumentWithSha2 documentWithSha2) Modifier and TypeMethodDescriptionvoid
Sha2FileCacheDataLoader.setPredicate
(Predicate<DocumentWithSha2> predicate) This method sets a predicate evaluating a condition for a document to be refreshed.