Skip to main content

sign_detached

Function sign_detached 

Source
pub fn sign_detached(
    data: &[u8],
    signer: &mut Signing<'_>,
) -> Result<(String, String), String>
Expand description

A detached signature of data, armored, and the hash it used (“pgp-sha512”), for multipart/signed (RFC 3156 §5). signer is your key here (here_signer) or on a security key (securitykey::CardSigner).