Package eu.europa.esig.dss.tsl.service
Class TSLValidationJob
- java.lang.Object
-
- eu.europa.esig.dss.tsl.service.TSLValidationJob
-
public class TSLValidationJob extends Object
This class is job class which allows to launch TSL loading/parsing/validation. An instance of this class can be injected in a Spring quartz job.
-
-
Constructor Summary
Constructors Constructor Description TSLValidationJob()
-
Method Summary
Modifier and Type Method Description voidinitRepository()voidrefresh()voidsetCheckLOTLSignature(boolean checkLOTLSignature)voidsetCheckTSLSignatures(boolean checkTSLSignatures)voidsetDataLoader(DataLoader dataLoader)voidsetExecutorService(ExecutorService executorService)voidsetFilterTerritories(List<String> filterTerritories)voidsetLotlCode(String lotlCode)This method allows to set the LOTL country codevoidsetLotlUrl(String lotlUrl)This method allows to set the LOTL URLvoidsetOjContentKeyStore(KeyStoreCertificateSource ojContentKeyStore)voidsetOjUrl(String ojurl)This method allows to set the current used Official Journal URL (where the trusted certificates are listed)voidsetOtherTrustedLists(List<OtherTrustedList> otherTrustedLists)This parameter allows to add non EU trusted lists.voidsetRepository(TSLRepository repository)
-
-
-
Method Detail
-
setExecutorService
public void setExecutorService(ExecutorService executorService)
-
setDataLoader
public void setDataLoader(DataLoader dataLoader)
-
setRepository
public void setRepository(TSLRepository repository)
-
setLotlCode
public void setLotlCode(String lotlCode)
This method allows to set the LOTL country code- Parameters:
lotlCode- the country code (EU in European Union)
-
setLotlUrl
public void setLotlUrl(String lotlUrl)
This method allows to set the LOTL URL- Parameters:
lotlUrl- the LOTL Url
-
setOjUrl
public void setOjUrl(String ojurl)
This method allows to set the current used Official Journal URL (where the trusted certificates are listed)- Parameters:
ojurl- the Official Journal URL
-
setOjContentKeyStore
public void setOjContentKeyStore(KeyStoreCertificateSource ojContentKeyStore)
-
setCheckLOTLSignature
public void setCheckLOTLSignature(boolean checkLOTLSignature)
-
setCheckTSLSignatures
public void setCheckTSLSignatures(boolean checkTSLSignatures)
-
setOtherTrustedLists
public void setOtherTrustedLists(List<OtherTrustedList> otherTrustedLists)
This parameter allows to add non EU trusted lists.- Parameters:
otherTrustedLists- a list of additional trusted lists to be supported
-
initRepository
public void initRepository()
-
refresh
public void refresh()
-
-