From f40c86ed6398e6be84b108c7b88fbff80bbd5803 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Mon, 16 Dec 2024 11:41:52 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20Erweiterung=20des=20IAsymCryptService-I?= =?UTF-8?q?nterfaces=20um=20zus=C3=A4tzliche=20Verschl=C3=BCsselungs-=20un?= =?UTF-8?q?d=20Entschl=C3=BCsselungsfunktionen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Hinzugefügt: `IEnumerable` und `IEnumerable` zum `IAsymCryptService`-Interface. - Einführung einer `Default`-Eigenschaft für den einfachen Zugriff auf einen Standard-Entschlüsseler. - Aktualisierung des `IAsymCryptService`-Interfaces zur Unterstützung sowohl von Entschlüsselungs- als auch Verschlüsselungsfunktionen. --- .../Security/IAsymCryptService.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/DigitalData.Core.Abstractions/Security/IAsymCryptService.cs b/DigitalData.Core.Abstractions/Security/IAsymCryptService.cs index 7a31a44..9e71c3a 100644 --- a/DigitalData.Core.Abstractions/Security/IAsymCryptService.cs +++ b/DigitalData.Core.Abstractions/Security/IAsymCryptService.cs @@ -1,10 +1,14 @@ namespace DigitalData.Core.Abstractions.Security { - public interface IAsymCryptService : IRSAFactory + public interface IAsymCryptService : IRSAFactory, IEnumerable { - public IEnumerable Decryptors { get; } + IEnumerable Decryptors { get; } - public IRSADecryptor this[string key] { get; } + IRSADecryptor Default { get; } + + IRSADecryptor this[string key] { get; } + + IEnumerable Encryptors { get; } } public interface IAsymCryptService : IAsymCryptService, IRSAFactory { }