Expand description
OpenPGP helper module using rPGP facilities.
Structs§
- A PGP keypair.
Enums§
- A wrapper for rPGP public key types
Constants§
- Preferred cryptographic hash.
- Preferred symmetric encryption algorithm.
Functions§
- Create a new key pair.
- Signs
plain
text usingprivate_key_for_signing
. - Decrypts the message with keys from the private key keyring.
- Encrypts
plain
text usingpublic_keys_for_encryption
and signs it usingprivate_key_for_signing
. - Validates detached signature.
- Select public key or subkey to use for encryption.
- Split data from PGP Armored Data as defined in https://tools.ietf.org/html/rfc4880#section-6.2.
- Symmetric decryption.
- Symmetric encryption.