Class JAdESUtils

java.lang.Object
eu.europa.esig.jws.AbstractJWSUtils
eu.europa.esig.jades.JAdESUtils

public final class JAdESUtils extends AbstractJWSUtils
Contains utils for JAdES signature validation against JSON schemas
  • Method Details

    • getInstance

      public static JAdESUtils getInstance()
      Returns instance of JAdESUtils
      Returns:
      JAdESUtils
    • getJWSSchemaJSON

      public org.json.JSONObject getJWSSchemaJSON()
      Description copied from class: AbstractJWSUtils
      Returns a JSON schema for a root JWS element validation
      Specified by:
      getJWSSchemaJSON in class AbstractJWSUtils
      Returns:
      JSONObject
    • getJWSSchemaDefinitions

      public Map<URI,org.json.JSONObject> getJWSSchemaDefinitions()
      Description copied from class: AbstractJWSUtils
      Returns a map of definition objects used for JWS validation
      Specified by:
      getJWSSchemaDefinitions in class AbstractJWSUtils
      Returns:
      JWS schema definitions map
    • getJWSProtectedHeaderSchemaJSON

      public org.json.JSONObject getJWSProtectedHeaderSchemaJSON()
      Description copied from class: AbstractJWSUtils
      Loads JSON schema for a JSON Protected Header validation
      Specified by:
      getJWSProtectedHeaderSchemaJSON in class AbstractJWSUtils
      Returns:
      JSONObject
    • getJWSProtectedHeaderSchemaDefinitions

      public Map<URI,org.json.JSONObject> getJWSProtectedHeaderSchemaDefinitions()
      Description copied from class: AbstractJWSUtils
      Returns a map of definition objects used for JWS Protected Header validation
      Specified by:
      getJWSProtectedHeaderSchemaDefinitions in class AbstractJWSUtils
      Returns:
      JWS Protected Header schema definitions map
    • getJWSUnprotectedHeaderSchemaJSON

      public org.json.JSONObject getJWSUnprotectedHeaderSchemaJSON()
      Description copied from class: AbstractJWSUtils
      Loads JSON schema for a JSON Unprotected Header validation
      Specified by:
      getJWSUnprotectedHeaderSchemaJSON in class AbstractJWSUtils
      Returns:
      JSONObject
    • getJWSUnprotectedHeaderSchemaDefinitions

      public Map<URI,org.json.JSONObject> getJWSUnprotectedHeaderSchemaDefinitions()
      Description copied from class: AbstractJWSUtils
      Returns a map of definition objects used for JWS Unprotected Header validation
      Specified by:
      getJWSUnprotectedHeaderSchemaDefinitions in class AbstractJWSUtils
      Returns:
      JWS Unprotected Header schema definitions map
    • getJAdESDefinitions

      public Map<URI,org.json.JSONObject> getJAdESDefinitions()
      Returns a list of RFC 7515 and RFC 7517 definitions
      Returns:
      a map of definitions