pub struct Cipher(_);
Expand description

A symmetric cipher.

Implementations

Looks up the cipher for a certain nid.

This corresponds to EVP_get_cipherbynid.

Requires OpenSSL 1.1.0 or newer.

Requires OpenSSL 1.1.0 or newer.

Requires OpenSSL 1.1.0 or newer.

Trait Implementations

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.

Calls U::from(self).

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

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.