refactor(IRSAFactory): Erstellt, um die Funktionalität von RSAFactory zu trennen

This commit is contained in:
Developer 02
2024-12-02 15:10:51 +01:00
parent a4b96c2f3e
commit f720ea9cd6
5 changed files with 38 additions and 30 deletions

View File

@@ -8,6 +8,7 @@ namespace DigitalData.Core.Security
{
public static IServiceCollection AddSecurity(this IServiceCollection services)
{
services.TryAddScoped<IRSAFactory>(sp => RSAFactory.Static);
services.TryAddScoped<IAsymCryptService, AsymCryptService>();
return services;