Class JWSCompactSerializationParser

java.lang.Object
eu.europa.esig.dss.jades.JWSCompactSerializationParser

public class JWSCompactSerializationParser extends Object
The class is used to parse a Compact JWS
  • Constructor Details

    • JWSCompactSerializationParser

      public JWSCompactSerializationParser(DSSDocument document)
      The default constructor
      Parameters:
      document - DSSDocument to parse
  • Method Details

    • parse

      public JWS 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