Skip to main content

sign

Function sign 

Source
pub fn sign(
    signer: &Signer,
    bytes: &[u8],
) -> Result<(Signature, Option<Value>), String>
Expand description

Signs bytes (a statement’s PAE). The signature is base64 of the signer’s own armored output; keyid is the key’s fingerprint.