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 b4fc66feb6
3353 changed files with 88254 additions and 1590657 deletions

View File

@@ -7,6 +7,7 @@ using StellaOps.Attestation;
using StellaOps.Attestor.Envelope;
using Xunit;
using StellaOps.TestKit;
public class DsseHelperTests
{
private sealed class FakeSigner : IAuthoritySigner
@@ -18,7 +19,8 @@ public class DsseHelperTests
=> Task.FromResult(Convert.FromHexString("deadbeef"));
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task WrapAsync_ProducesDsseEnvelope()
{
var stmt = new InTotoStatement(
@@ -37,7 +39,8 @@ public class DsseHelperTests
envelope.Signatures[0].Signature.Should().Be(Convert.ToBase64String(Convert.FromHexString("deadbeef")));
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void PreAuthenticationEncoding_FollowsDsseSpec()
{
var payloadType = "example/type";