From 5010224500f86fb343c821cb2e0c4439672e8098 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Wed, 20 Nov 2024 10:38:34 +0100 Subject: [PATCH] =?UTF-8?q?feat(RSADecryptor):=20Eigenschaft=20hinzugef?= =?UTF-8?q?=C3=BCgt,=20um=20zu=20pr=C3=BCfen,=20ob=20der=20RSADecryptor=20?= =?UTF-8?q?pem=20verschl=C3=BCsselt=20hat.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DigitalData.Core.Security/RSADecryptor.cs | 2 ++ 1 file changed, 2 insertions(+) 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;