feat(RSADecryptor): PasswordVersion-Eigenschaft hinzugefügt. Password.get intern gemacht.

- Password.get entfernt und PasswordVersion-Eigenschaft in IRSADecryptor hinzugefügt
This commit is contained in:
Developer 02 2024-11-20 11:17:38 +01:00
parent f9c94e8464
commit 103ddf5c2e
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,9 @@
{
public interface IRSADecryptor : IRSACryptographer
{
string? Password { get; init; }
string? Password { init; }
Version? PasswordVersion { get; init; }
bool HasEncryptedPem { get; }

View File

@ -6,7 +6,9 @@ namespace DigitalData.Core.Security
{
public class RSADecryptor : RSACryptographer, IRSADecryptor, IRSACryptographer
{
public string? Password { get; init; }
public string? Password { internal get; init; }
public Version? PasswordVersion { get; init; }
public bool HasEncryptedPem => Password is not null;