Crate sequoia_net
source ·Expand description
Discovering and publishing OpenPGP certificates over the network.
This crate provides access to keyservers using the HKP protocol, and searching and publishing Web Key Directories.
Additionally the pks
module exposes private key operations using
the PKS protocol.
Examples
This example demonstrates how to fetch a certificate from the default key server:
let mut ks = KeyServer::default();
let keyid: KeyID = "31855247603831FD".parse()?;
println!("{:?}", ks.get(keyid).await?);
This example demonstrates how to fetch a certificate using WKD:
let certs = sequoia_net::wkd::get(&reqwest::Client::new(), "juliett@example.org").await?;
Re-exports
pub use reqwest;
Modules
- DANE protocol client.
- Private Key Store communication.
- OpenPGP Keystore Update Manifests.
- OpenPGP Web Key Directory client.
Structs
- For accessing keyservers using HKP.
Enums
- Errors returned from the network routines.
Type Aliases
- Results for sequoia-net.