Lines Matching refs:tls_ctx
703 tls_ctx: tls::Context, field
753 version: u32, tls_ctx: boring::ssl::SslContext, in with_boring_ssl_ctx()
755 Self::with_tls_ctx(version, tls::Context::from_boring(tls_ctx)) in with_boring_ssl_ctx()
758 fn with_tls_ctx(version: u32, tls_ctx: tls::Context) -> Result<Config> { in with_tls_ctx()
766 tls_ctx, in with_tls_ctx()
798 self.tls_ctx.use_certificate_chain_file(file) in load_cert_chain_from_pem_file()
813 self.tls_ctx.use_privkey_file(file) in load_priv_key_from_pem_file()
829 self.tls_ctx.load_verify_locations_from_file(file) in load_verify_locations_from_file()
847 self.tls_ctx.load_verify_locations_from_directory(dir) in load_verify_locations_from_directory()
855 self.tls_ctx.set_verify(verify); in verify_peer()
874 self.tls_ctx.enable_keylog(); in log_keys()
888 self.tls_ctx.set_ticket_key(key) in set_ticket_key()
893 self.tls_ctx.set_early_data_enabled(true); in enable_early_data()
919 self.tls_ctx.set_alpn(protos_list) in set_application_protos()
1664 let tls = config.tls_ctx.new_handshake()?; in new()