pub struct Tls12ClientSessionValue {
pub session_id: SessionID,
pub common: ClientSessionCommon,
/* private fields */
}
Fields§
§session_id: SessionID
§common: ClientSessionCommon
Implementations§
source§impl Tls12ClientSessionValue
impl Tls12ClientSessionValue
pub fn new(
suite: &'static Tls12CipherSuite,
session_id: SessionID,
ticket: Vec<u8>,
master_secret: Vec<u8>,
server_cert_chain: Vec<Certificate>,
time_now: TimeBase,
lifetime_secs: u32,
extended_ms: bool
) -> Self
sourcepub fn get_encoding(&self) -> Vec<u8>
pub fn get_encoding(&self) -> Vec<u8>
Inherent implementation of the Codec::get_encoding()
method.
(See read()
for why this is inherent here.)
pub fn take_ticket(&mut self) -> Vec<u8>
pub fn extended_ms(&self) -> bool
pub fn suite(&self) -> &'static Tls12CipherSuite
Methods from Deref<Target = ClientSessionCommon>§
Trait Implementations§
source§impl Debug for Tls12ClientSessionValue
impl Debug for Tls12ClientSessionValue
source§impl Deref for Tls12ClientSessionValue
impl Deref for Tls12ClientSessionValue
source§impl From<Tls12ClientSessionValue> for ClientSessionValue
impl From<Tls12ClientSessionValue> for ClientSessionValue
source§fn from(v: Tls12ClientSessionValue) -> Self
fn from(v: Tls12ClientSessionValue) -> Self
Converts to this type from the input type.