pub trait TlsSession: Send {
// Required methods
fn tls_exporter(
&self,
label: &[u8],
context: &[u8],
output: &mut [u8],
) -> Result<(), TlsExportError>;
fn cipher_suite(&self) -> CipherSuite;
fn peer_cert_chain_der(&self) -> Result<Vec<Vec<u8>>, ChainError>;
}