예제 #1
0
 protected override TlsSignerCredentials GetRsaSignerCredentials()
 {
     return(TlsTestUtilities.LoadSignerCredentials(mContext, GetSupportedSignatureAlgorithms(),
                                                   SignatureAlgorithm.rsa, new string[] { "x509-server-rsa-sign.pem", "x509-ca-rsa.pem" },
                                                   "x509-server-key-rsa-sign.pem"));
 }
예제 #2
0
 protected override TlsSignerCredentials GetRsaSignerCredentials()
 {
     return(TlsTestUtilities.LoadSignerCredentials(mContext, mSupportedSignatureAlgorithms, SignatureAlgorithm.rsa,
                                                   "x509-server.pem", "x509-server-key.pem"));
 }
예제 #3
0
 protected override TlsEncryptionCredentials GetRsaEncryptionCredentials()
 {
     return(TlsTestUtilities.LoadEncryptionCredentials(mContext,
                                                       new string[] { "x509-server-rsa-enc.pem", "x509-ca-rsa.pem" }, "x509-server-key-rsa-enc.pem"));
 }
예제 #4
0
 protected override TlsSignerCredentials GetECDsaSignerCredentials()
 {
     return(TlsTestUtilities.LoadSignerCredentials(mContext, GetSupportedSignatureAlgorithms(), SignatureAlgorithm.ecdsa,
                                                   "x509-server-ecdsa.pem", "x509-server-key-ecdsa.pem"));
 }