Struct telos::raw::TlsConfig [] [src]

pub struct TlsConfig {
    // some fields omitted
}

TLS configuration settings, see TlsContext::configure to apply them

Methods

impl TlsConfig

fn new() -> TlsResult<TlsConfig>

fn set_ca_file(&mut self, path: &str) -> TlsResult<()>

fn set_ca_path(&mut self, path: &str) -> TlsResult<()>

fn set_ca_mem(&mut self, ca: &str) -> TlsResult<()>

fn set_verify_depth(&mut self, depth: i32)

fn insecure_noverifyname(&mut self)

fn insecure_noverifycert(&mut self)

fn set_key_file(&mut self, path: &str) -> TlsResult<()>

fn set_cert_file(&mut self, path: &str) -> TlsResult<()>

fn set_protocols(&mut self, protocols: &str) -> TlsResult<()>

fn set_ciphers(&mut self, ciphers: &str) -> TlsResult<()>

Trait Implementations

impl Drop for TlsConfig

fn drop(&mut self)