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, Global>
) -> Result<(Arc<ServerConfig, Global>, Arc<ClientConfig, Global>), KitsuneError>
Expand description
Helper to generate rustls configs given a TlsConfig reference.