Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 7.53 KB

File metadata and controls

23 lines (17 loc) · 7.53 KB

Signature

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.

Example Usage

import { Signature } from "@vercel/sdk/models/signkmsmessageop.js";

let value: Signature = {
  payload: "<value>",
  signature: "<value>",
};

Fields

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.