nethsm::openpgp

Function sign

source
pub fn sign(
    nethsm: &NetHsm,
    key_id: &KeyId,
    message: &[u8],
) -> Result<Vec<u8>, Error>
Expand description

Generates an OpenPGP signature using a given NetHSM key for the message.