Struct openssl::ssl::SslCipherRef[][src]

pub struct SslCipherRef(_);

Reference to an SslCipher.

Methods

impl SslCipherRef
[src]

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 NID corresponding to the cipher.

Requires OpenSSL 1.1.0 or newer.

This corresponds to SSL_CIPHER_get_cipher_nid.

Trait Implementations

impl ForeignTypeRef for SslCipherRef
[src]

The raw C type.

Important traits for &'a mut R

Constructs a shared instance of this type from its raw type.

Important traits for &'a mut R

Constructs a mutable reference of this type from its raw type.

Returns a raw pointer to the wrapped value.

Auto Trait Implementations

impl Send for SslCipherRef

impl !Sync for SslCipherRef