pub struct SslCipherRef(_);
Expand description

Reference to an SslCipher.

Implementations

Returns the name of the cipher.

This corresponds to SSL_CIPHER_get_name.

Returns the RFC-standard name of the cipher, if one exists.

Requires OpenSSL 1.1.1 or newer.

This corresponds to SSL_CIPHER_standard_name.

Returns the SSL/TLS protocol version that first defined the cipher.

This corresponds to SSL_CIPHER_get_version.

Returns the number of bits used for the cipher.

This corresponds to SSL_CIPHER_get_bits.

Returns a textual description of the cipher.

This corresponds to SSL_CIPHER_description.

Returns the handshake digest of the cipher.

Requires OpenSSL 1.1.1 or newer.

This corresponds to SSL_CIPHER_get_handshake_digest.

Returns the NID corresponding to the cipher.

Requires OpenSSL 1.1.0 or LibreSSL 2.7.0 or newer.

This corresponds to SSL_CIPHER_get_cipher_nid.

Trait Implementations

Formats the value using the given formatter. Read more
The raw C type.
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.
Returns a raw pointer to the wrapped value.

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.