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:
master
2025-12-23 14:06:48 +02:00
parent ef933db0d8
commit 84d97fd22c
51 changed files with 4353 additions and 747 deletions

View File

@@ -46,7 +46,12 @@ internal static class Program
#endif
#if STELLAOPS_ENABLE_SM
services.AddSmCryptoProviders(configuration);
services.AddSmSoftCryptoProvider(configuration);
services.AddSmRemoteCryptoProvider(configuration);
#endif
#if DEBUG || STELLAOPS_ENABLE_SIMULATOR
services.AddSimRemoteCryptoProvider(configuration);
#endif
// CLI-AIRGAP-56-002: Add sealed mode telemetry for air-gapped operation