Skip to main content
Version: 1.3

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.

More Info


typ

Optional Readonly typ: string

The Type value to be placed in the protected header.

More Info


cty

Optional Readonly cty: string

Content Type to be placed in the protected header.

More Info


url

Optional Readonly url: string

The URL to be placed in the protected header.

More Info


nonce

Optional Readonly nonce: string

The nonce to be placed in the protected header.

More Info


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.

More Info


detachedPayload

Optional Readonly detachedPayload: boolean

/// Whether the payload should be detached from the JWS.

More Info.


customHeaderParameters

Optional Readonly customHeaderParameters: Record\<string, any>

Additional header parameters.