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

pub struct SslCipher(_);

Information about a cipher.

Methods from Deref<Target = SslCipherRef>

Returns the name of the cipher.

This corresponds to SSL_CIPHER_get_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

impl ForeignType for SslCipher
[src]

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.

impl Deref for SslCipher
[src]

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for SslCipher
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl !Send for SslCipher

impl !Sync for SslCipher