[−][src]Crate pbp
This library is designed to integrate non-PGP generated and verified keys and signatures with channels that expect PGP data. It specifically only supports the ed25519 signature scheme.
Sometimes you want to be able to sign data, and the only reasonable channel to transmit signatures and public keys available to you expects them to be PGP formatted. If you don't want to use a heavyweight dependency like gpg, this library supports only the minimal necessary components of the PGP format to transmit your keys and signatures.
Structs
KeyFlags |
The key flags assigned to this key. |
PgpKey |
An OpenPGP formatted ed25519 public key. |
PgpSig |
An OpenPGP formatted ed25519 signature. |
SubPacket |
A subpacket to be hashed into the signed data. |
Enums
PgpError |
An error returned while attempting to parse a PGP signature or public key. |
SigType |
The valid types of OpenPGP signatures. |
Type Definitions
Fingerprint |
An OpenPGP public key fingerprint. |
Signature |
An ed25519 signature. |