Class EuropeanResourceFetcher.Result
java.lang.Object
com.itextpdf.signatures.validation.lotl.EuropeanResourceFetcher.Result
- All Implemented Interfaces:
-
IJsonSerializable
- Enclosing class:
- EuropeanResourceFetcher
Represents the result of fetching European Union Journal certificates. Contains a list of report items and a list of certificates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeserializesJsonValueintoEuropeanResourceFetcher.Result.Gets the list of certificates.Gets string constant representing currently used Official Journal publication.Gets the list of report items.voidsetCertificates(List<Certificate> certificates) Sets the list of certificates.voidsetCurrentlySupportedPublication(String currentlySuppostedPublication) Sets string constant representing currently used Official Journal publication.toJson()Serializes object to JSON AST.
-
Constructor Details
-
Result
public Result()Create a new Instance ofEuropeanResourceFetcher.Result.
-
-
Method Details
-
getLocalReport
Gets the list of report items.- Returns:
- a ValidationReport object containing report items
-
getCertificates
Gets the list of certificates.- Returns:
- a list of Certificate objects
-
getCurrentlySupportedPublication
Gets string constant representing currently used Official Journal publication.- Returns:
-
Stringconstant representing currently used Official Journal publication
-
setCertificates
Sets the list of certificates.- Parameters:
-
certificates- a list of Certificate objects to set
-
setCurrentlySupportedPublication
Sets string constant representing currently used Official Journal publication.- Parameters:
-
currentlySuppostedPublication-Stringconstant representing currently used Official Journal publication
-
toJson
Serializes object to JSON AST..- Specified by:
-
toJsonin interfaceIJsonSerializable - Returns:
-
JsonValueserialized object
-
fromJson
DeserializesJsonValueintoEuropeanResourceFetcher.Result.- Parameters:
-
jsonValue-JsonValueto deserialize - Returns:
-
deserialized
EuropeanResourceFetcher.Result
-