Example #1
0
 public X509SigningCredentials(X509Certificate2 certificate, string signatureAlgorithm, string digestAlgorithm)
     : this(certificate, X509SigningCredentials.GetSecurityKeyIdentifier(certificate), signatureAlgorithm, digestAlgorithm)
 {
 }
Example #2
0
 public X509SigningCredentials(X509Certificate2 certificate)
     : this(certificate, X509SigningCredentials.GetSecurityKeyIdentifier(certificate), SecurityAlgorithms.RsaSha256Signature, SecurityAlgorithms.Sha256Digest)
 {
 }