Flattened JWS JSON Serialization Syntax token. Payload is returned as an empty string when JWS Unencoded Payload ({@link https://www.rfc-editor.org/rfc/rfc7797 RFC7797}) is used.
import { Signature } from "@vercel/sdk/models/signkmsmessageop.js";
let value: Signature = {
payload: "<value>",
signature: "<value>",
};| Field | Type | Required | Description |
|---|---|---|---|
payload |
string | ✔️ | N/A |
signature |
string | ✔️ | N/A |
header |
models.Header | ➖ | The "header" member MUST be present and contain the value JWS Unprotected Header when the JWS Unprotected Header value is non- empty; otherwise, it MUST be absent. This value is represented as an unencoded JSON object, rather than as a string. These Header Parameter values are not integrity protected. |
protected |
string | ➖ | The "protected" member MUST be present and contain the value BASE64URL(UTF8(JWS Protected Header)) when the JWS Protected Header value is non-empty; otherwise, it MUST be absent. These Header Parameter values are integrity protected. |