Refactor code structure and optimize performance across multiple modules

This commit is contained in:
StellaOps Bot
2025-12-26 20:03:22 +02:00
parent c786faae84
commit f10d83c444
1385 changed files with 69732 additions and 10280 deletions

View File

@@ -14,7 +14,8 @@ namespace StellaOps.Cryptography.Tests;
public class SimRemoteProviderTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void Supports_DefaultAlgorithms_CoversStandardIds()
{
var handler = new NoopHandler();
@@ -27,7 +28,8 @@ public class SimRemoteProviderTests
Assert.True(provider.Supports(CryptoCapability.Signing, SignatureAlgorithms.Dilithium3));
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task SignAndVerify_WithSimProvider_Succeeds()
{
// Arrange
@@ -47,6 +49,7 @@ public class SimRemoteProviderTests
services.AddSingleton<SimRemoteProvider>();
using var providerScope = services.BuildServiceProvider();
using StellaOps.TestKit;
var provider = providerScope.GetRequiredService<SimRemoteProvider>();
var signer = provider.GetSigner("pq.sim", new CryptoKeyReference("sim-key"));
var payload = Encoding.UTF8.GetBytes("hello-sim");