Function sequoia_ffi::openpgp::crypto::pgp_key_pair_as_signer[][src]

#[no_mangle]
pub extern "C" fn pgp_key_pair_as_signer(
    kp: *mut KeyPair
) -> *mut Box<dyn Signer>
Expand description

Creates a signer from a key pair.

C Declaration

pgp_box_t
pgp_key_pair_as_signer (pgp_key_pair_t kp);

Consumes the key pair.