feat: Erweiterung des IAsymCryptService-Interfaces um zusätzliche Verschlüsselungs- und Entschlüsselungsfunktionen
- Hinzugefügt: `IEnumerable<IRSADecryptor>` und `IEnumerable<IRSAEncryptor>` 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.
This commit is contained in:
parent
b32f0df125
commit
f40c86ed63
@ -1,10 +1,14 @@
|
|||||||
namespace DigitalData.Core.Abstractions.Security
|
namespace DigitalData.Core.Abstractions.Security
|
||||||
{
|
{
|
||||||
public interface IAsymCryptService : IRSAFactory
|
public interface IAsymCryptService : IRSAFactory, IEnumerable<IRSADecryptor>
|
||||||
{
|
{
|
||||||
public IEnumerable<IRSADecryptor> Decryptors { get; }
|
IEnumerable<IRSADecryptor> Decryptors { get; }
|
||||||
|
|
||||||
public IRSADecryptor this[string key] { get; }
|
IRSADecryptor Default { get; }
|
||||||
|
|
||||||
|
IRSADecryptor this[string key] { get; }
|
||||||
|
|
||||||
|
IEnumerable<IRSAEncryptor> Encryptors { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IAsymCryptService<TParams> : IAsymCryptService, IRSAFactory<TParams> { }
|
public interface IAsymCryptService<TParams> : IAsymCryptService, IRSAFactory<TParams> { }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user