Interface: IJwsSignatureOptions
identity_wasm.IJwsSignatureOptions
Holds options to create JwsSignatureOptions.
Table of contents
Properties
Properties
attachJwk
• Optional
Readonly
attachJwk: boolean
Whether to attach the public key in the corresponding method to the JWS header.
Default: false
b64
• Optional
Readonly
b64: boolean
Whether to Base64url encode the payload or not.
typ
• Optional
Readonly
typ: string
The Type value to be placed in the protected header.
cty
• Optional
Readonly
cty: string
Content Type to be placed in the protected header.
url
• Optional
Readonly
url: string
The URL to be placed in the protected header.
nonce
• Optional
Readonly
nonce: string
The nonce to be placed in the protected header.
kid
• Optional
Readonly
kid: string
The kid to set in the protected header. If unset, the kid of the JWK with which the JWS is produced is used.
detachedPayload
• Optional
Readonly
detachedPayload: boolean
/// Whether the payload should be detached from the JWS.
customHeaderParameters
• Optional
Readonly
customHeaderParameters: Record
\<string
, any
>
Additional header parameters.