Interface BeforePayload

All Known Subinterfaces:
BeforeHeader, BeforeKid
All Known Implementing Classes:
JWS.Signature

public interface BeforePayload
A stopover within the the workflow of the Fluent API regarding the generation of signatures.
  • Method Details

    • payload

      SignatureEnd payload(jakarta.json.JsonStructure payload)
      Introduces the actual payload.
      Parameters:
      payload - the given payload
      Returns:
      the last step within the workflow of the Fluent API regarding the generation of signatures.
    • payload

      SignatureEnd payload(jakarta.json.JsonStructure payload, Json2StringConverter converter)
      Introduces the actual payload together with a Json2StringConverter.
      Parameters:
      payload - the given payload.
      converter - the desired converter.
      Returns:
      the last step within the workflow of the Fluent API regarding the generation of signatures.
    • payload

      SignatureEnd payload(String payload)
      Introduces the actual payload as string. The string must be valid JSON at present.
      Parameters:
      payload - the given payload.
      Returns:
      the last step within the workflow of the Fluent API regarding the generation of signatures.