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
type Target = SslCipherRef
type Target = SslCipherRef
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
type CType = SSL_CIPHER
type CType = SSL_CIPHER
The raw C type.
type Ref = SslCipherRef
type Ref = SslCipherRef
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.
