Struct quinn_proto::crypto::rustls::TlsSession [−][src]
pub struct TlsSession { /* fields omitted */ }A rustls TLS session
Trait Implementations
impl ClientConfig<TlsSession> for Arc<ClientConfig>[src]
impl ClientConfig<TlsSession> for Arc<ClientConfig>[src]fn new() -> Self[src]
fn start_session(
&self,
server_name: &str,
params: &TransportParameters
) -> Result<TlsSession, ConnectError>[src]
&self,
server_name: &str,
params: &TransportParameters
) -> Result<TlsSession, ConnectError>
impl Deref for TlsSession[src]
impl Deref for TlsSession[src]impl ServerConfig<TlsSession> for Arc<ServerConfig>[src]
impl ServerConfig<TlsSession> for Arc<ServerConfig>[src]fn new() -> Self[src]
fn start_session(&self, params: &TransportParameters) -> TlsSession[src]
impl Session for TlsSession[src]
impl Session for TlsSession[src]type HandshakeData = HandshakeData
Parameters determined when the handshake begins, e.g. server name and/or application protocol Read more
type Identity = CertificateChain
Cryptographic identity of the peer
type ClientConfig = Arc<ClientConfig>
Type used to hold configuration for client sessions
type HmacKey = Key
Type used to sign various values
type HandshakeTokenKey = Prk
Key used to generate one-time-use handshake token keys
type PacketKey = PacketKey
Type used to represent packet protection keys
type HeaderKey = HeaderProtectionKey
Type of keys used to protect packet headers
type ServerConfig = Arc<ServerConfig>
Type used to hold configuration for server sessions
fn initial_keys(dst_cid: &ConnectionId, side: Side) -> Keys<Self>[src]
fn handshake_data(&self) -> Option<HandshakeData>[src]
fn peer_identity(&self) -> Option<CertificateChain>[src]
fn early_crypto(&self) -> Option<(Self::HeaderKey, Self::PacketKey)>[src]
fn early_data_accepted(&self) -> Option<bool>[src]
fn is_handshaking(&self) -> bool[src]
fn read_handshake(&mut self, buf: &[u8]) -> Result<bool, TransportError>[src]
fn transport_parameters(
&self
) -> Result<Option<TransportParameters>, TransportError>[src]
&self
) -> Result<Option<TransportParameters>, TransportError>
fn write_handshake(&mut self, buf: &mut Vec<u8>) -> Option<Keys<Self>>[src]
fn next_1rtt_keys(&mut self) -> KeyPair<Self::PacketKey>[src]
fn retry_tag(orig_dst_cid: &ConnectionId, packet: &[u8]) -> [u8; 16][src]
fn is_valid_retry(
orig_dst_cid: &ConnectionId,
header: &[u8],
payload: &[u8]
) -> bool[src]
orig_dst_cid: &ConnectionId,
header: &[u8],
payload: &[u8]
) -> bool
fn export_keying_material(
&self,
output: &mut [u8],
label: &[u8],
context: &[u8]
) -> Result<(), ExportKeyingMaterialError>[src]
&self,
output: &mut [u8],
label: &[u8],
context: &[u8]
) -> Result<(), ExportKeyingMaterialError>
Auto Trait Implementations
impl !RefUnwindSafe for TlsSession
impl !RefUnwindSafe for TlsSessionimpl Send for TlsSession
impl Send for TlsSessionimpl Sync for TlsSession
impl Sync for TlsSessionimpl Unpin for TlsSession
impl Unpin for TlsSessionimpl !UnwindSafe for TlsSession
impl !UnwindSafe for TlsSessionBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,