Files
git.stella-ops.org/src/__Libraries/StellaOps.Cryptography.Plugin.EIDAS.Tests/EidasCryptoProviderTests.Unsupported.cs
2026-02-04 19:59:20 +02:00

24 lines
654 B
C#

// SPDX-License-Identifier: BUSL-1.1
// Sprint: SPRINT_4100_0006_0002 - eIDAS Crypto Plugin Tests
using StellaOps.TestKit;
using Xunit;
namespace StellaOps.Cryptography.Plugin.EIDAS.Tests;
public partial class EidasCryptoProviderTests
{
[Trait("Category", TestCategories.Unit)]
[Fact]
public void GetPasswordHasher_ThrowsNotSupported()
{
Assert.Throws<NotSupportedException>(() => _provider.GetPasswordHasher("PBKDF2"));
}
[Trait("Category", TestCategories.Unit)]
[Fact]
public void GetHasher_ThrowsNotSupported()
{
Assert.Throws<NotSupportedException>(() => _provider.GetHasher("SHA256"));
}
}