feat(eidas): Implement eIDAS Crypto Plugin with dependency injection and signing capabilities
- Added ServiceCollectionExtensions for eIDAS crypto providers. - Implemented EidasCryptoProvider for handling eIDAS-compliant signatures. - Created LocalEidasProvider for local signing using PKCS#12 keystores. - Defined SignatureLevel and SignatureFormat enums for eIDAS compliance. - Developed TrustServiceProviderClient for remote signing via TSP. - Added configuration support for eIDAS options in the project file. - Implemented unit tests for SM2 compliance and crypto operations. - Introduced dependency injection extensions for SM software and remote plugins.
This commit is contained in:
@@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging;
|
||||
using StellaOps.Attestor;
|
||||
using StellaOps.Scanner.Core.Configuration;
|
||||
using StellaOps.Scanner.Reachability;
|
||||
using StellaOps.Scanner.Reachability.Models;
|
||||
using StellaOps.Attestor;
|
||||
using StellaOps.Signals.Storage;
|
||||
|
||||
namespace StellaOps.Scanner.Worker.Orchestration;
|
||||
@@ -42,7 +42,7 @@ public class PoEOrchestrator
|
||||
/// <param name="cancellationToken">Cancellation token</param>
|
||||
/// <returns>List of generated PoE hashes</returns>
|
||||
public async Task<IReadOnlyList<PoEResult>> GeneratePoEArtifactsAsync(
|
||||
ScanContext context,
|
||||
PoEScanContext context,
|
||||
IReadOnlyList<VulnerabilityMatch> vulnerabilities,
|
||||
PoEConfiguration configuration,
|
||||
CancellationToken cancellationToken = default)
|
||||
@@ -129,8 +129,8 @@ public class PoEOrchestrator
|
||||
/// Generate a single PoE artifact for a subgraph.
|
||||
/// </summary>
|
||||
private async Task<PoEResult> GenerateSinglePoEAsync(
|
||||
Subgraph subgraph,
|
||||
ScanContext context,
|
||||
PoESubgraph subgraph,
|
||||
PoEScanContext context,
|
||||
PoEConfiguration configuration,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
@@ -201,7 +201,7 @@ public class PoEOrchestrator
|
||||
);
|
||||
}
|
||||
|
||||
private string[] GenerateReproSteps(ScanContext context, Subgraph subgraph)
|
||||
private string[] GenerateReproSteps(PoEScanContext context, PoESubgraph subgraph)
|
||||
{
|
||||
return new[]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user