You are here: Resources > Security > JWS Signature Generator

JWS Signature Header Generator

To use the Generator tool below:

  1. Edit the JWS Header section and update the following:
    1. "kid"
    2. "iat"
    3. "iss"
  2. Paste the HTTP request body into the JWS Payload section (JSON)
  3. Paste the Private Key into the Private Key area (see PKI Management in Developer Dashboard for details of how to generate your Private Key).
  4. Click the Generate JWS Signature button.
  5. Use the generated string as a JWS-Signature header value when making your calls to the Nuapay Endpoint you referenced in step 2 above.
Input JWS Header
Edit the "kid", "iat" and "iss"

- kid must match your certificate serial number
- iat must contain the current datetime (the milliseconds since Unix Epoch)

- iss must match the subject on your certificate


JWS Payload
Your HTTP request body here
Private Key in PKCS#8 format
The key never leaves your browser
Output JWS Signature
Copy it and use it as the JWS-Signature header value

For further reference, see: