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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user