Package eu.europa.esig.dss.jades
Class JWSCompactSerializationParser
java.lang.Object
eu.europa.esig.dss.jades.JWSCompactSerializationParser
The class is used to parse a Compact JWS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Verifies if the provided file is a Compact JWSparse()
Parses the provided document and returns a JWS Compact signature if found
-
Constructor Details
-
JWSCompactSerializationParser
The default constructor- Parameters:
document
-DSSDocument
to parse
-
-
Method Details
-
parse
Parses the provided document and returns a JWS Compact signature if found- Returns:
JWS
-
isSupported
public boolean isSupported()Verifies if the provided file is a Compact JWS- Returns:
- TRUE if the document is a Compact JWS and supported by the parser, FALSE otherwise
-