mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
[EC-277] Remove SHA-1 encryption from SSO Outbound and Minimum Signing Algorithm lists (#2509)
This commit is contained in:
parent
bc85cbe381
commit
c2fe3e4949
@ -6,13 +6,11 @@ public static class SamlSigningAlgorithms
|
|||||||
public const string Sha256 = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
|
public const string Sha256 = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
|
||||||
public const string Sha384 = "http://www.w3.org/2000/09/xmldsig#rsa-sha384";
|
public const string Sha384 = "http://www.w3.org/2000/09/xmldsig#rsa-sha384";
|
||||||
public const string Sha512 = "http://www.w3.org/2000/09/xmldsig#rsa-sha512";
|
public const string Sha512 = "http://www.w3.org/2000/09/xmldsig#rsa-sha512";
|
||||||
public const string Sha1 = "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
|
|
||||||
|
|
||||||
public static IEnumerable<string> GetEnumerable()
|
public static IEnumerable<string> GetEnumerable()
|
||||||
{
|
{
|
||||||
yield return Sha256;
|
yield return Sha256;
|
||||||
yield return Sha384;
|
yield return Sha384;
|
||||||
yield return Sha512;
|
yield return Sha512;
|
||||||
yield return Sha1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user