mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
22 lines
719 B
C#
22 lines
719 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Bit.Core.Sso
|
|
{
|
|
public static class SamlSigningAlgorithms
|
|
{
|
|
public const string Default = 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 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()
|
|
{
|
|
yield return Sha256;
|
|
yield return Sha384;
|
|
yield return Sha512;
|
|
yield return Sha1;
|
|
}
|
|
}
|
|
}
|