Package eu.europa.esig.dss.tsl.service
Class TSLValidator
- java.lang.Object
-
- eu.europa.esig.dss.tsl.service.TSLValidator
-
- All Implemented Interfaces:
Callable<TSLValidationResult>
public class TSLValidator extends Object implements Callable<TSLValidationResult>
This class allows to validate TSL or LOTL. It can be executed as a Callable.
-
-
Constructor Summary
Constructors Constructor Description TSLValidator(DSSDocument trustedList, String countryCode, List<CertificateToken> potentialSigners)Constructor used to instantiate a validator for a TSL
-
-
-
Constructor Detail
-
TSLValidator
public TSLValidator(DSSDocument trustedList, String countryCode, List<CertificateToken> potentialSigners)
Constructor used to instantiate a validator for a TSL- Parameters:
trustedList- the DSSDocument with a trusted list (not LOTL)countryCode- the country codepotentialSigners- the list of certificates allowed to sign this TSL
-
-
Method Detail
-
call
public TSLValidationResult call() throws Exception
- Specified by:
callin interfaceCallable<TSLValidationResult>- Throws:
Exception
-
-