feat(RSADecryptor): Eigenschaft hinzugefügt, um zu prüfen, ob der RSADecryptor pem verschlüsselt hat.

This commit is contained in:
Developer 02
2024-11-20 10:38:34 +01:00
parent 1ebdd7e5bb
commit 5010224500

View File

@@ -8,6 +8,8 @@ namespace DigitalData.Core.Security
{
public string? Password { get; init; }
public bool HasEncryptedPem => Password is not null;
public bool IsEncrypted => Password is not null;
private readonly Lazy<IRSAEncryptor> _lazyEncryptor;