private SslServerCredentials CreateCredentials()
        {
            var keyCertificatePair = TlsHelper.GenerateKeyCertificatePair();

            return(new SslServerCredentials(new List <KeyCertificatePair> {
                keyCertificatePair
            }));
        }
Exemple #2
0
 private void CreateClientKeyCertificatePair()
 {
     _clientKeyCertificatePair = TlsHelper.GenerateKeyCertificatePair();
 }