feat(AsymCryptService): Decryptors und Encryptors Getter hinzugefügt.

This commit is contained in:
Developer 02 2024-12-05 13:17:23 +01:00
parent fa60147507
commit b8fb45d4a3

View File

@ -8,6 +8,10 @@ namespace DigitalData.Core.Security
{
public class AsymCryptService<TAsymCryptParams> : RSAFactory<TAsymCryptParams>, IAsymCryptService<TAsymCryptParams>, IRSAFactory<TAsymCryptParams> where TAsymCryptParams : AsymCryptParams
{
public IEnumerable<IRSADecryptor> Decryptors => _params.Decryptors;
public IEnumerable<IRSAEncryptor> Encryptors => _params.Encryptors;
private readonly Dictionary<string, IRSADecryptor> _decryptors;
public IRSADecryptor this[string key] { get => _decryptors[key]; set => _decryptors[key] = value; }