Package eu.europa.esig.dss.tsl.runnable
Class AbstractAnalysis
java.lang.Object
eu.europa.esig.dss.tsl.runnable.AbstractAnalysis
- Direct Known Subclasses:
LOTLAnalysis,LOTLWithPivotsAnalysis,PivotProcessing,TLAnalysis
public abstract class AbstractAnalysis extends Object
Processes the LOTL/TL validation job (download - parse - validate)
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAnalysis(CacheAccessByKey cacheAccess, DSSFileLoader dssFileLoader)Default constructor -
Method Summary
Modifier and Type Method Description protected DSSDocumentdownload(String url)Downloads the document by urlprotected CacheAccessByKeygetCacheAccessByKey()Gets theCacheAccessByKeyprotected voidlotlParsing(DSSDocument document, LOTLSource source)Parses the documentprotected voidvalidation(DSSDocument document, CertificateSource certificateSource)Validates the document
-
Constructor Details
-
AbstractAnalysis
Default constructor- Parameters:
cacheAccess-CacheAccessByKeydssFileLoader-DSSFileLoader
-
-
Method Details
-
getCacheAccessByKey
Gets theCacheAccessByKey- Returns:
CacheAccessByKey
-
download
Downloads the document by url- Parameters:
url-String- Returns:
DSSDocument
-
lotlParsing
Parses the document- Parameters:
document-DSSDocumentto parsesource-LOTLSource
-
validation
Validates the document- Parameters:
document-DSSDocumentto validatecertificateSource-CertificateSourceto use
-