[][src]Crate sequoia_net

For accessing keys over the network.

Currently, this module provides access to keyservers providing the HKP protocol.

Example

We provide a very reasonable default key server backed by hkps.pool.sks-keyservers.net, the subset of the SKS keyserver network that uses https to protect integrity and confidentiality of the communication with the client:

let ctx = Context::new("org.sequoia-pgp.example")?;
let mut ks = KeyServer::sks_pool(&ctx)?;
let keyid = KeyID::from_hex("31855247603831FD").unwrap();
println!("{:?}", ks.get(&keyid));
Ok(())

Modules

async

Asynchronously access keyservers.

ipc

Low-level IPC mechanism for Sequoia.

Structs

KeyServer

For accessing keyservers using HKP.

Enums

Error

Errors returned from the network routines.

Type Definitions

Result

Results for sequoia-net.