Struct openssl::ssl::SslCipher[][src]

pub struct SslCipher(_);
Expand description

Information about a cipher.

Methods from Deref<Target = SslCipherRef>

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 newer.

This corresponds to SSL_CIPHER_get_cipher_nid.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

The raw C type.

The type representing a reference to this type.

Constructs an instance 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

Performs the conversion.

Performs the conversion.

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.