Struct sequoia_net::KeyServer

source ·
pub struct KeyServer { /* private fields */ }
Expand description

For accessing keyservers using HKP.

Implementations§

Returns a handle for the given URI.

Returns a handle for the given URI.

cert is used to authenticate the server.

Returns a handle for keys.openpgp.org.

The server at hkps://keys.openpgp.org distributes updates for OpenPGP certificates. It is a good default choice.

Retrieves the certificate with the given handle.

Retrieves certificates containing the given UserID.

If the given UserID does not follow the de facto conventions for userids, or it does not contain a email address, an error is returned.

Any certificates returned by the server that do not contain the email address queried for are silently discarded.

Warning

Returned certificates must be mistrusted, and be carefully interpreted under a policy and trust model.

Sends the given key to the server.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more