Class CountrySpecificLotl
java.lang.Object
com.itextpdf.signatures.validation.lotl.CountrySpecificLotl
- All Implemented Interfaces:
-
IJsonSerializable
This class represents a country-specific TSL (Trusted List) location. It contains the scheme territory, the TSL location URL and MIME type.
-
Constructor Summary
ConstructorsConstructorDescriptionCountrySpecificLotl(String schemeTerritory, String tslLocation, String mimeType) Creates an instance of country specific LOTL location representation. -
Method Summary
Modifier and TypeMethodDescriptionstatic CountrySpecificLotlDeserializesJsonValueintoCountrySpecificLotl.Returns the MIME type of the TSL location.Returns the scheme territory of this country-specific TSL.Returns the TSL location URL of this country-specific TSL.toJson()Serializes object to JSON AST.toString()
-
Constructor Details
-
CountrySpecificLotl
Creates an instance of country specific LOTL location representation.- Parameters:
-
schemeTerritory- scheme territory of this country-specific TSL -
tslLocation- TSL location URL of this country-specific TSL -
mimeType- MIME type of the TSL location
-
-
Method Details
-
getSchemeTerritory
Returns the scheme territory of this country-specific TSL.- Returns:
- the scheme territory
-
getTslLocation
Returns the TSL location URL of this country-specific TSL.- Returns:
- the TSL location URL
-
getMimeType
Returns the MIME type of the TSL location.- Returns:
- the MIME type of the TSL location
-
toJson
Serializes object to JSON AST..- Specified by:
-
toJsonin interfaceIJsonSerializable - Returns:
-
JsonValueserialized object
-
fromJson
DeserializesJsonValueintoCountrySpecificLotl.- Parameters:
-
jsonValue-JsonValueto deserialize - Returns:
-
deserialized
CountrySpecificLotl
-
toString
-