diff --git a/DigitalData.Core.Security/RSADecryptor.cs b/DigitalData.Core.Security/RSADecryptor.cs index 9cffaef..5c22d51 100644 --- a/DigitalData.Core.Security/RSADecryptor.cs +++ b/DigitalData.Core.Security/RSADecryptor.cs @@ -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 _lazyEncryptor;