public interface LotlServiceCache
Notice: If you do your own implementation of this interface,
you should ensure that the cache is thread-safe and can handle concurrent access.
This is important because Lotl data can be accessed and modified by multiple threads
simultaneously.
You should also ensure that all the values are set atomically using setAllValues(com.itextpdf.signatures.validation.lotl.EuropeanLotlFetcher.Result, com.itextpdf.signatures.validation.lotl.EuropeanResourceFetcher.Result, com.itextpdf.signatures.validation.lotl.PivotFetcher.Result, java.util.Map<java.lang.String, com.itextpdf.signatures.validation.lotl.CountrySpecificLotlFetcher.Result>) method
to maintain consistency, So that you are not using outdated pivot results or country-specific Lotls with a changed
European Lotl.
| Modifier and Type | Method and Description |
|---|---|
Map<String,CountrySpecificLotlFetcher.Result> |
getCountrySpecificLotls()
Gets the country-specific Lotl results.
|
EuropeanResourceFetcher.Result |
getEUJournalCertificates()
Gets the result of the European Resource Fetcher.
|
EuropeanLotlFetcher.Result |
getLotlResult()
Gets the European Lotl result.
|
PivotFetcher.Result |
getPivotResult()
Gets the European Lotl result.
|
void |
setAllValues(EuropeanLotlFetcher.Result lotlXml,
EuropeanResourceFetcher.Result europeanResourceFetcherEUJournalCertificates,
PivotFetcher.Result result,
Map<String,CountrySpecificLotlFetcher.Result> countrySpecificResult)
Sets all values related to Lotl, including European Lotl, EU Journal certificates,
pivot results, and country-specific Lotls.
|
void |
setCountrySpecificLotlResult(CountrySpecificLotlFetcher.Result countrySpecificLotlResult)
Sets the country-specific Lotl result for a specific country.
|
void |
setEuropeanResourceFetcherResult(EuropeanResourceFetcher.Result result)
Sets the result of the European Resource Fetcher.
|
void |
setLotlResult(EuropeanLotlFetcher.Result data)
Sets the European Lotl result.
|
void |
setPivotResult(PivotFetcher.Result newResult)
Sets the pivot result.
|
void setAllValues(EuropeanLotlFetcher.Result lotlXml, EuropeanResourceFetcher.Result europeanResourceFetcherEUJournalCertificates, PivotFetcher.Result result, Map<String,CountrySpecificLotlFetcher.Result> countrySpecificResult)
lotlXml - the European Lotl resulteuropeanResourceFetcherEUJournalCertificates - the EU Journal certificatesresult - the pivot fetcher resultcountrySpecificResult - a map of country-specific Lotl resultsPivotFetcher.Result getPivotResult()
void setPivotResult(PivotFetcher.Result newResult)
newResult - the new pivot result to setMap<String,CountrySpecificLotlFetcher.Result> getCountrySpecificLotls()
void setCountrySpecificLotlResult(CountrySpecificLotlFetcher.Result countrySpecificLotlResult)
countrySpecificLotlResult - the country-specific Lotl result to setEuropeanLotlFetcher.Result getLotlResult()
void setLotlResult(EuropeanLotlFetcher.Result data)
data - the European Lotl result to setvoid setEuropeanResourceFetcherResult(EuropeanResourceFetcher.Result result)
result - the result of the European Resource FetcherEuropeanResourceFetcher.Result getEUJournalCertificates()
Copyright © 1998–2025 Apryse Group NV. All rights reserved.