Signer
Last updated
Last updated
• Docs
/ / Signer
Any class implementing this interface can be used as a signer for Twine
getPublicJWK():
Promise
<>
Get the public key in JWK format
Returns
Promise
<>
Defined in
sign(
bytes
):Promise
<string
>
Sign the given bytes
Parameters
bytes
Uint8Array
Bytes to sign
Returns
Promise
<string
>
Defined in