Vade Signer
About
Small helper module to support signing in Vade
plugins.
Configuring signer for vade projects
Some Vade
plugins need a signer to be able to sign messages. The signer is usually created and passed to the plugin`s constructor, e.g. for using a local signer:
use ;
use ,
let signer: = Box new;
let resolver = new;
When signing remotely, signing_url
will be called with a POST request. The messages that should be signed is passed to the server alongside a reference to a key like this:
Two types of of responses are supported. Successful signing results are give in this format:
Errors can be signaled this way: