pub struct Context { /* private fields */ }
Expand description

GnuPG binary context.

Trait Implementations

Encrypt plaintext for recipients.

Decrypt ciphertext.

Check whether we can decrypt ciphertext.

Obtain all public keys from keychain.

Obtain all public keys from keychain.

Import the given key from bytes into keychain.

Export the given key from the keychain as bytes.

Check whether this context supports the given protocol.

Encrypt plaintext and write it to the file.

Decrypt ciphertext from file.

Check whether we can decrypt ciphertext from file.

Obtain a public key from keychain for fingerprint.

Find public keys from keychain for fingerprints. Read more

Import the given key from a file into keychain.

Export the given key from the keychain to a file.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The error type produced by a failed conversion.

Convert the given value into an approximately equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an approximately equivalent representation.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Approximate the subject with the default scheme.

Approximate the subject with a specific scheme.

Approximate the subject to a given type with the default scheme.

Approximate the subject to a given type with a specific scheme.

Convert the subject to a given type.

Attempt to convert the subject to a given type.

Attempt a value conversion of the subject to a given type.

Returns the argument unchanged.

Calls U::from(self).

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

The error type produced by a failed conversion.

Convert the given value into the subject type.

The type returned in the event of a conversion error.

Performs the conversion.

The error type produced by a failed conversion.

Convert the subject into the destination type.

The type returned in the event of a conversion error.

Performs the conversion.

The error type produced by a failed conversion.

Convert the given value into an exactly equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an exactly equivalent representation.