public class DefaultTSLRefreshCallback extends Object implements TSLRefreshCallback
TSLRefreshCallback
.Constructor and Description |
---|
DefaultTSLRefreshCallback(Configuration configuration)
Creates an instance of this callback with the specified configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ensureTSLState(eu.europa.esig.dss.spi.tsl.TLValidationJobSummary summary)
Ensures the state of the TSL and either throws an exception or returns
true . |
public DefaultTSLRefreshCallback(Configuration configuration)
configuration
- configuration to usepublic boolean ensureTSLState(eu.europa.esig.dss.spi.tsl.TLValidationJobSummary summary)
true
.ensureTSLState
in interface TSLRefreshCallback
summary
- the information about the state of the TSLtrue
, unless an exception is thrownTslRefreshException
- if:Configuration.getRequiredTerritories()
,
Configuration.setRequiredTerritories(String...)
Copyright © 2024. All rights reserved.