Expand description
OpenPGP-related functions.
Structsยง
- HsmKey ๐PGP-adapter for a NetHSM key.
- Key usage flags that can be set on the generated certificate.
- A basic representation of a User ID for OpenPGP
- A list of
OpenPgpUserId
- An iterator over the variants of OpenPgpVersion
Enumsยง
- Open
PgpUser ๐IdType A distinction between types of OpenPGP User IDs - The OpenPGP version
Functionsยง
- Generates an OpenPGP certificate for the given NetHSM key.
- Extracts certificate (public key) from an OpenPGP TSK.
- hash_
to_ ๐oid Converts OpenPGP hash algorithm into an OID form for PKCS#1 signing. - hsm_
pk_ ๐to_ pgp_ pk Converts NetHSM public key to OpenPGP public key. - parse_
signature ๐Parse signature bytes into algorithm-specific vector of MPIs. - prepare_
digest_ ๐data Transforms the raw digest data for cryptographic signing. - Generates an OpenPGP signature using a given NetHSM key for the message.
- Generates an OpenPGP signature based on provided hasher state.
- Converts an OpenPGP Transferable Secret Key into
PrivateKeyImport
object.