feat(RSAFactory.ReadRSADecryptorAsync): ReadRSADecryptorAsync-Methode hinzugefügt, um die pem-Datei zu lesen und den Decryptor asynchron zu erstellen

This commit is contained in:
Developer 02
2024-11-22 09:06:58 +01:00
parent f7193594b1
commit 70ccec9fef
3 changed files with 27 additions and 5 deletions

View File

@@ -6,12 +6,12 @@ namespace DigitalData.Core.Security
{
public class RSADecryptor : RSACryptographer, IRSADecryptor, IRSACryptographer
{
public (string Value, Version Version) VersionedPassword
public (string Value, Version Version)? VersionedPassword
{
init
{
_password = value.Value;
PasswordVersion = value.Version;
_password = value?.Value;
PasswordVersion = value?.Version;
}
}