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
- DANE protocol client.
- updates
- OpenPGP Keystore Update Manifests.
- wkd
- OpenPGP Web Key Directory client.
Structs§
- KeyServer
- For accessing keyservers using HKP.
Enums§
- Error
- Errors returned from the network routines.
Type Aliases§
- Result
- Results for sequoia-net.