java.lang.Object
de.christofreichardt.json.websignature.JWSBase
Direct Known Subclasses:
JWSSigner, JWSValidator

public class JWSBase extends Object
This class provides some core functionality related to creating and validating signatures.
Author:
Christof Reichardt
  • Method Details

    • getStrJoseHeader

      public String getStrJoseHeader()
      Returns the string representation of the JOSE header. The raw bytes used for creating the signature will be derived from this string.
      Returns:
      the string representation of the JOSE header.
    • getJoseHeader

      public jakarta.json.JsonObject getJoseHeader()
      Returns the JOSE Header as JsonObject.
      Returns:
      the JOSE Header as JsonObject.
    • getStrPayload

      public String getStrPayload()
      Returns the string representation of the actual payload. The raw bytes used for creating the signature will be derived from this string.
      Returns:
      the string representation of the actual payload.
    • getPayload

      public jakarta.json.JsonStructure getPayload()
      Returns the payload as JsonObject.
      Returns:
      the payload as JsonObject.