[][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 mut core = Core::new().unwrap();
let ctx = Context::new()?;
let mut ks = KeyServer::keys_openpgp_org(&ctx)?;
let keyid = "31855247603831FD".parse().unwrap();
println!("{:?}", core.run(ks.get(&keyid)));
Ok(())

Modules

wkd

OpenPGP Web Key Directory client.

Structs

KeyServer

For accessing keyservers using HKP.

Enums

Error

Errors returned from the network routines.

Type Definitions

Result

Results for sequoia-net.