Module pgp

Source
Expand description

PGP helper functions.

Enums§

CipherSuite

Functions§

armored_keyring_to_certs
Make a Vec of Cert from an armored key(ring)
cert_to_armored
make a “public key” ascii-armored representation of a Cert
cert_to_armored_private_key
Get “private key” armored representation of a Cert
certs_to_armored
Get the armored “public keyring” representation of a set of Certs.
get_expiry
Get expiration time of cert as a SystemTime
get_revoc_issuer_fp
is_possibly_revoked
Is cert (possibly) revoked?
print_cert_info
revoc_to_armored
Make an armored representation of a revocation signature.
to_cert
Returns the first Cert found in ‘data’.
to_signature
Get a Signature object from signature data (optionally armored)
tsign
signer tsigns the signee key. Each User ID of signee gets certified.
valid_certifications_by
For User ID uid (which is a part of cert): find all valid certifications that have been made by certifier.