Struct rustls::internal::msgs::persist::ServerSessionValue [−][src]
pub struct ServerSessionValue { pub sni: Option<DNSName>, pub version: ProtocolVersion, pub cipher_suite: CipherSuite, pub master_secret: PayloadU8, pub extended_ms: bool, pub client_cert_chain: Option<CertificatePayload>, pub alpn: Option<PayloadU8>, pub application_data: PayloadU16, }
Fields
sni: Option<DNSName>
version: ProtocolVersion
cipher_suite: CipherSuite
master_secret: PayloadU8
extended_ms: bool
client_cert_chain: Option<CertificatePayload>
alpn: Option<PayloadU8>
application_data: PayloadU16
Implementations
impl ServerSessionValue
[src]
impl ServerSessionValue
[src]pub fn new(
sni: Option<&DNSName>,
v: ProtocolVersion,
cs: CipherSuite,
ms: Vec<u8>,
cert_chain: &Option<CertificatePayload>,
alpn: Option<Vec<u8>>,
application_data: Vec<u8>
) -> ServerSessionValue
[src]
sni: Option<&DNSName>,
v: ProtocolVersion,
cs: CipherSuite,
ms: Vec<u8>,
cert_chain: &Option<CertificatePayload>,
alpn: Option<Vec<u8>>,
application_data: Vec<u8>
) -> ServerSessionValue
pub fn set_extended_ms_used(&mut self)
[src]
Trait Implementations
impl Codec for ServerSessionValue
[src]
impl Codec for ServerSessionValue
[src]