pub fn sign( signer: &Signer, bytes: &[u8], ) -> Result<(Signature, Option<Value>), String>
Signs bytes (a statement’s PAE). The signature is base64 of the signer’s own armored output; keyid is the key’s fingerprint.
bytes
keyid