Struct openssl::ssl::SslCipherRef
[−]
[src]
pub struct SslCipherRef(_);
Methods
impl SslCipherRef
[src]
fn name(&self) -> &str
Returns the name of cipher.
fn version(&self) -> &str
Returns the SSL/TLS protocol version that first defined the cipher.
fn bits(&self) -> CipherBits
Returns the number of bits used for the cipher.
fn description(&self) -> String
Returns a textual description of the cipher used
Trait Implementations
impl OpenSslTypeRef for SslCipherRef
[src]
type CType = SSL_CIPHER
The raw C type.
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.