public class RemoveOnFailingCountryData extends Object implements IOnFailingCountryLotlData
IOnFailingCountryLotlData interface and provides a strategy
for handling failures when fetching country-specific Lotl (List of Trusted Lists) files.
It ignores the failure of the specific country, and converts all report items to INFO status.
This way the country-specific Lotl is not used and the validation report is not invalid but can be indeterminate.| Constructor and Description |
|---|
RemoveOnFailingCountryData()
Constructs an instance of
RemoveOnFailingCountryData. |
| Modifier and Type | Method and Description |
|---|---|
void |
onCountryFailure(CountrySpecificLotlFetcher.Result fetchResult)
This method is called when the fetching of a country-specific Lotl fails.
|
public RemoveOnFailingCountryData()
RemoveOnFailingCountryData.public void onCountryFailure(CountrySpecificLotlFetcher.Result fetchResult)
If the implementation does not throw an exception, the validation process will continue, and the certificates
from the CountrySpecificLotlFetcher.Result will not be added to the trust store.
onCountryFailure in interface IOnFailingCountryLotlDatafetchResult - the result of the fetch attempt, which may contain error detailsCopyright © 1998–2025 Apryse Group NV. All rights reserved.