IJwsSignatureOptions
@iota/identity-wasm API documentation
Interface: IJwsSignatureOptions
Holds options to create JwsSignatureOptions.
Properties
attachJwk?
readonlyoptionalattachJwk:boolean
Whether to attach the public key in the corresponding method to the JWS header.
Default: false
b64?
readonlyoptionalb64:boolean
Whether to Base64url encode the payload or not.
typ?
readonlyoptionaltyp:string
The Type value to be placed in the protected header.
cty?
readonlyoptionalcty:string
Content Type to be placed in the protected header.
url?
readonlyoptionalurl:string
The URL to be placed in the protected header.
nonce?
readonlyoptionalnonce:string
The nonce to be placed in the protected header.
kid?
readonlyoptionalkid: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?
readonlyoptionaldetachedPayload:boolean
/// Whether the payload should be detached from the JWS.
customHeaderParameters?
readonlyoptionalcustomHeaderParameters:Record<string,any>
Additional header parameters.