Module sequoia_net::pks

source ·
Expand description

Private Key Store communication.

Functions in this module can be used to sign and decrypt using remote keys using the Private Key Store protocol.

Examples

use sequoia_net::pks;

match pks::unlock_signer("http://localhost:3000/", key, &p) {
    Ok(signer) => { /* use signer for signing */ },
    Err(e) => { eprintln!("Could not unlock signer: {:?}", e); }
}

Enums

  • Errors returned from Private Key Store functions.

Functions