pub fn sign( nethsm: &NetHsm, key_id: &KeyId, message: &[u8], ) -> Result<Vec<u8>, Error>
Generates an OpenPGP signature using a given NetHSM key for the message.