Files
DigitalData.Core/DigitalData.Core.Abstractions/Security/IRSADecryptor.cs
2024-11-20 12:49:36 +01:00

17 lines
390 B
C#

namespace DigitalData.Core.Abstractions.Security
{
public interface IRSADecryptor : IRSACryptographer
{
(string Value, Version Version) VersionedPassword { init; }
Version? PasswordVersion { get; }
bool HasEncryptedPem { get; }
IRSAEncryptor Encryptor { get; }
byte[] Decrypt(byte[] data);
string Decrypt(string data);
}
}