diff --git a/DigitalData.Core.Abstractions/Security/IRSADecryptor.cs b/DigitalData.Core.Abstractions/Security/IRSADecryptor.cs index f3b9258..48b87f9 100644 --- a/DigitalData.Core.Abstractions/Security/IRSADecryptor.cs +++ b/DigitalData.Core.Abstractions/Security/IRSADecryptor.cs @@ -2,12 +2,14 @@ { public interface IRSADecryptor : IRSACryptographer { - public string? Password { get; init; } + string? Password { get; init; } - public IRSAEncryptor Encryptor { get; } + bool HasEncryptedPem { get; } - public byte[] Decrypt(byte[] data); + IRSAEncryptor Encryptor { get; } - public string Decrypt(string data); + byte[] Decrypt(byte[] data); + + string Decrypt(string data); } } \ No newline at end of file