Struct openssl::ssl::SslCipherRef [−][src]
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 newer.
This corresponds to SSL_CIPHER_get_cipher_nid
.
Trait Implementations
type CType = SSL_CIPHER
type CType = SSL_CIPHER
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.