public interface IOnCountryFetchFailureStrategy
We provide 2 default implementations out of the box:
- RemoveOnFailingCountryData - which does nothing and won't
throw an exception, but will not add any country-specific certificates to the trust store.
- ThrowExceptionOnFailingCountryData - which will throw an exception
if the fetching of a country-specific Lotl fails so that the validation process can be halted.
| Modifier and Type | Method and Description |
|---|---|
void |
onCountryFetchFailure(CountrySpecificLotlFetcher.Result fetchResult)
This method is called when the fetching of a country-specific Lotl fails.
|
void onCountryFetchFailure(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.
fetchResult - the result of the fetch attempt, which may contain error detailsCopyright © 1998–2025 Apryse Group NV. All rights reserved.