Package eu.europa.esig.dss.jades
Class JWSJsonSerializationParser
java.lang.Object
eu.europa.esig.dss.jades.JWSJsonSerializationParser
The Parser used to create a
JWSJsonSerializationObject
from a document-
Constructor Summary
ConstructorDescriptionJWSJsonSerializationParser
(DSSDocument document) The default constructor for parser to extract a list of signatures and payload -
Method Summary
Modifier and TypeMethodDescriptionboolean
Verifies if the given document is supported by the parserparse()
Parses the provided document and returns JWSJsonSerializationObject if applicable
-
Constructor Details
-
JWSJsonSerializationParser
The default constructor for parser to extract a list of signatures and payload- Parameters:
document
-DSSDocument
to parse
-
-
Method Details
-
parse
Parses the provided document and returns JWSJsonSerializationObject if applicable- Returns:
JWSJsonSerializationObject
-
isSupported
public boolean isSupported()Verifies if the given document is supported by the parser- Returns:
- TRUE of the document is supported and can be parsed, FALSE otherwise
-