Struct openssl::ssl::SslSession
[−]
[src]
pub struct SslSession(_);
Methods from Deref<Target = SslSessionRef>
fn id(&self) -> &[u8]
Returns the SSL session ID.
fn master_key_len(&self) -> usize
Returns the length of the master key.
fn master_key(&self, buf: &mut [u8]) -> usize
Copies the master key into the provided buffer.
Returns the number of bytes written.
Trait Implementations
impl OpenSslType for SslSession
[src]
type CType = SSL_SESSION
The raw C type.
type Ref = SslSessionRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut SSL_SESSION) -> SslSession
Constructs an instance of this type from its raw type.
impl Drop for SslSession
[src]
impl Deref for SslSession
[src]
type Target = SslSessionRef
The resulting type after dereferencing
fn deref(&self) -> &SslSessionRef
The method called to dereference a value
impl DerefMut for SslSession
[src]
fn deref_mut(&mut self) -> &mut SslSessionRef
The method called to mutably dereference a value