Module signer

Module signer 

Source
Expand description

OpenPGP related signing facilities for NetHSM.

Structsยง

NetHsmKey
Access to signature creation with a specific key in a NetHsm.
OwnedNetHsmKey
Owned access to signature creation with a specific key in a NetHsm.

Functionsยง

ec_public_key_data_to_bytes ๐Ÿ”’
Converts base64-encoded EC public key data into a vector of bytes.
nethsm_signature_type ๐Ÿ”’
Returns a SignatureType for a [KeyType].
prepare_digest_data_for_openpgp ๐Ÿ”’
Transforms the raw digest data for cryptographic signing with OpenPGP.
raw_signature_to_mpis ๐Ÿ”’
Parses raw signature bytes as vector of algorithm-specific multiple precision integers (MPIs).