Function holochain::prelude::dependencies::kitsune_p2p_types::tls::gen_tls_configs
source · pub fn gen_tls_configs(
alpn: &[u8],
tls: &TlsConfig,
tuning_params: Arc<KitsuneP2pTuningParams>
) -> Result<(Arc<ServerConfig>, Arc<ClientConfig>), KitsuneError>
Expand description
Helper to generate rustls configs given a TlsConfig reference.