public X509SigningCredentials(X509Certificate2 certificate, string signatureAlgorithm, string digestAlgorithm) : this(certificate, X509SigningCredentials.GetSecurityKeyIdentifier(certificate), signatureAlgorithm, digestAlgorithm) { }
public X509SigningCredentials(X509Certificate2 certificate) : this(certificate, X509SigningCredentials.GetSecurityKeyIdentifier(certificate), SecurityAlgorithms.RsaSha256Signature, SecurityAlgorithms.Sha256Digest) { }