stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
using FluentAssertions;
|
||||
using StellaOps.Cryptography;
|
||||
using Xunit;
|
||||
namespace StellaOps.Cryptography.Tests;
|
||||
public sealed partial class EidasCapabilityDetectionTests
|
||||
{
|
||||
[Fact]
|
||||
public void AlgorithmSummary_DocumentsSupportedAlgorithms()
|
||||
{
|
||||
var provider = CreateProvider();
|
||||
|
||||
var supportedAlgorithms = new[]
|
||||
{
|
||||
"ECDSA-P256",
|
||||
"ECDSA-P384",
|
||||
"ECDSA-P521",
|
||||
"RSA-PSS-2048",
|
||||
"RSA-PSS-4096",
|
||||
"EdDSA-Ed25519",
|
||||
"EdDSA-Ed448"
|
||||
};
|
||||
|
||||
foreach (var algo in supportedAlgorithms)
|
||||
{
|
||||
provider.Supports(CryptoCapability.Signing, algo).Should().BeTrue();
|
||||
provider.Supports(CryptoCapability.Verification, algo).Should().BeTrue();
|
||||
}
|
||||
|
||||
_output.WriteLine("=== eIDAS Provider Algorithm Summary ===");
|
||||
_output.WriteLine("Supported for Signing & Verification:");
|
||||
foreach (var algo in supportedAlgorithms)
|
||||
{
|
||||
_output.WriteLine($" - {algo}");
|
||||
}
|
||||
_output.WriteLine("Unsupported Capabilities:");
|
||||
_output.WriteLine(" - PasswordHashing");
|
||||
_output.WriteLine(" - ContentHashing");
|
||||
_output.WriteLine(" - SymmetricEncryption");
|
||||
_output.WriteLine(" - KeyDerivation");
|
||||
_output.WriteLine("Signature Levels:");
|
||||
_output.WriteLine(" - QES (Qualified Electronic Signature)");
|
||||
_output.WriteLine(" - AES (Advanced Electronic Signature)");
|
||||
_output.WriteLine(" - AdES (Standard Electronic Signature)");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user