Package eu.europa.esig.jades
Class JAdESUtils
java.lang.Object
eu.europa.esig.jws.AbstractJWSUtils
eu.europa.esig.jades.JAdESUtils
Contains utils for JAdES signature validation against JSON schemas
-
Method Summary
Modifier and TypeMethodDescriptionstatic JAdESUtils
Returns instance ofJAdESUtils
Returns a list of RFC 7515 and RFC 7517 definitionsReturns a map of definition objects used for JWS Protected Header validationorg.json.JSONObject
Loads JSON schema for a JSON Protected Header validationReturns a map of definition objects used for JWS validationorg.json.JSONObject
Returns a JSON schema for a root JWS element validationReturns a map of definition objects used for JWS Unprotected Header validationorg.json.JSONObject
Loads JSON schema for a JSON Unprotected Header validationMethods inherited from class eu.europa.esig.jws.AbstractJWSUtils
getJWSProtectedHeaderSchema, getJWSSchema, getJWSUnprotectedHeaderSchema, loadSchema, parseJson, parseJson, validateAgainstJWSProtectedHeaderSchema, validateAgainstJWSProtectedHeaderSchema, validateAgainstJWSProtectedHeaderSchema, validateAgainstJWSSchema, validateAgainstJWSSchema, validateAgainstJWSSchema, validateAgainstJWSUnprotectedHeaderSchema, validateAgainstJWSUnprotectedHeaderSchema, validateAgainstJWSUnprotectedHeaderSchema, validateAgainstSchema
-
Method Details
-
getInstance
Returns instance ofJAdESUtils
- 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 classAbstractJWSUtils
- Returns:
JSONObject
-
getJWSSchemaDefinitions
Description copied from class:AbstractJWSUtils
Returns a map of definition objects used for JWS validation- Specified by:
getJWSSchemaDefinitions
in classAbstractJWSUtils
- 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 classAbstractJWSUtils
- Returns:
JSONObject
-
getJWSProtectedHeaderSchemaDefinitions
Description copied from class:AbstractJWSUtils
Returns a map of definition objects used for JWS Protected Header validation- Specified by:
getJWSProtectedHeaderSchemaDefinitions
in classAbstractJWSUtils
- 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 classAbstractJWSUtils
- Returns:
JSONObject
-
getJWSUnprotectedHeaderSchemaDefinitions
Description copied from class:AbstractJWSUtils
Returns a map of definition objects used for JWS Unprotected Header validation- Specified by:
getJWSUnprotectedHeaderSchemaDefinitions
in classAbstractJWSUtils
- Returns:
- JWS Unprotected Header schema definitions map
-
getJAdESDefinitions
Returns a list of RFC 7515 and RFC 7517 definitions- Returns:
- a map of definitions
-