sui_tls

Function create_rustls_server_config_with_client_verifier

Source
pub fn create_rustls_server_config_with_client_verifier<A: Allower + 'static>(
    private_key: Ed25519PrivateKey,
    server_name: String,
    allower: A,
) -> ServerConfig
Expand description

Create a TLS server config which requires mTLS, eg the client to also provide a cert and be verified by the server based on the provided policy