refactor(IAsymmetricKey): Die Implementierung von IUniqueSecurityContext wurde entfernt und stattdessen die Eigenschaft Id hinzugefügt.

- Aktualisierte verwandte Implementierungen.
This commit is contained in:
Developer 02
2025-01-09 22:57:04 +01:00
parent 97c4f7bf8f
commit 66e3c771dd
7 changed files with 18 additions and 17 deletions

View File

@@ -59,8 +59,6 @@ namespace DigitalData.Core.Security.RSAKey
public IAsymmetricDecryptor CreateDecryptor(string pem, string? issuer = null, string? audience = null, bool encrypt = false, RSAEncryptionPadding? padding = null) => new RSADecryptor()
{
Content = pem,
Issuer = issuer ?? string.Empty,
Audience = audience ?? string.Empty,
IsEncrypted = encrypt,
Padding = padding ?? RSAEncryptionPadding.OaepSHA256
};