Expand description
OpenPGP signer interface.
Structsยง
- Hasher ๐
- Provides an adapter bridging two versions of the
digestcrate. - Signed
Secret Key - An OpenPGP secret key (โTransferable Secret Keyโ), complete with self-signatures.
- Signing
Key ๐ - PGP-adapter for a raw HSM key.
- Timestamp
- Timestamp that refers to a moment in time after the
UNIX_EPOCH.
Traitsยง
Functionsยง
- add_
certificate - Generates an OpenPGP certificate for a
RawSigningKeyimplementation. - ecdsa_
to_ ๐public_ key - Creates a [
PublicKey] object from ECDSA parameters. - extract_
certificate - Extracts an OpenPGP certificate from an OpenPGP private key.
- sign
- Generates an OpenPGP signature using a
RawSigningKeyimplementation. - sign_
hasher_ state - Generates an armored OpenPGP signature based on provided hasher state.
- to_
rpgp_ ๐error - Wraps an
Errorin astd::io::Errorand returns it as a [pgp::errors::Error]. - tsk_
to_ private_ key_ import - Converts an OpenPGP Transferable Secret Key into
PrivateKeyImportobject.