Class CountrySpecificLotlFetcher.Result
java.lang.Object
com.itextpdf.signatures.validation.lotl.CountrySpecificLotlFetcher.Result
- Enclosing class:
- CountrySpecificLotlFetcher
Represents the result of fetching and validating country-specific Lotls.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a unique identifier for the country-specific Lotl based on its scheme territory and TSL location.Gets the list of service contexts associated with the country-specific Lotl.Gets the country-specific Lotl that was fetched and validated.Gets the local validation report.void
setContexts
(List<IServiceContext> contexts) Sets the list of service contexts associated with the country-specific Lotl.setCountrySpecificLotl
(CountrySpecificLotl countrySpecificLotl) Sets the country-specific Lotl that was fetched and validated.void
setLocalReport
(ValidationReport localReport) Sets the local validation report.
-
Constructor Details
-
Result
public Result()Constructs a new Result object. Initializes the report items list, local report, and contexts list.
-
-
Method Details
-
getLocalReport
Gets the local validation report.- Returns:
- the ValidationReport object containing the results of local validation
-
setLocalReport
Sets the local validation report.- Parameters:
-
localReport
- the ValidationReport object to set
-
getContexts
Gets the list of service contexts associated with the country-specific Lotl.- Returns:
- a list of IServiceContext objects representing the service contexts
-
setContexts
Sets the list of service contexts associated with the country-specific Lotl.- Parameters:
-
contexts
- a list of IServiceContext objects to set
-
getCountrySpecificLotl
Gets the country-specific Lotl that was fetched and validated.- Returns:
- the CountrySpecificLotl object representing the country-specific Lotl
-
setCountrySpecificLotl
public CountrySpecificLotlFetcher.Result setCountrySpecificLotl(CountrySpecificLotl countrySpecificLotl) Sets the country-specific Lotl that was fetched and validated.- Parameters:
-
countrySpecificLotl
- the CountrySpecificLotl object to set - Returns:
- same result instance.
-
createUniqueIdentifier
Creates a unique identifier for the country-specific Lotl based on its scheme territory and TSL location.- Returns:
- a string representing the unique identifier for the country-specific Lotl
-