@FunctionalInterface public interface TSLRefreshCallback extends Serializable
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 appropriate exception if the TSL is not in a usable state
and the process that triggered the TSL refresh may not continue
returns
false , if the process that triggered the TSL refresh may continue,
but the time of the TSL refresh must not be updated - the TSL is marked as expired
returns true , if the TSL is good and the time of the TSL refresh must be
updated - the next automatic TSL refresh will not be triggered before the next expiration
period is over (see Configuration.setTslCacheExpirationTime(long) )
|
boolean ensureTSLState(eu.europa.esig.dss.spi.tsl.TLValidationJobSummary summary)
false
, if the process that triggered the TSL refresh may continue,
but the time of the TSL refresh must not be updated - the TSL is marked as expiredtrue
, if the TSL is good and the time of the TSL refresh must be
updated - the next automatic TSL refresh will not be triggered before the next expiration
period is over (see Configuration.setTslCacheExpirationTime(long)
)summary
- the information about the state of the TSLtrue
if the TSL refresh time must be updated, false
otherwiseCopyright © 2023. All rights reserved.