[][src]Crate sequoia_net

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.

Examples

This example demonstrates how to fetch a certificate from the default key server:

let mut ks = KeyServer::keys_openpgp_org(Policy::Encrypted)?;
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("juliett@example.org").await?;

Modules

wkd

OpenPGP Web Key Directory client.

Structs

KeyServer

For accessing keyservers using HKP.

TryFromU8Error

Indicates errors converting u8 to Policy.

Enums

Error

Errors returned from the network routines.

Policy

Network policy for Sequoia.

Type Definitions

Result

Results for sequoia-net.