Package eu.europa.esig.dss.jades
Class JWSJsonSerializationParser
java.lang.Object
eu.europa.esig.dss.jades.JWSJsonSerializationParser
public class JWSJsonSerializationParser extends Object
The Parser used to create a
JWSJsonSerializationObject
from a document-
Constructor Summary
Constructors Constructor Description JWSJsonSerializationParser(DSSDocument document)
The default constructor for parser to extract a list of signatures and payload -
Method Summary
Modifier and Type Method Description boolean
isSupported()
Verifies if the given document is supported by the parserJWSJsonSerializationObject
parse()
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
-