15 lines
360 B
C#
15 lines
360 B
C#
namespace DigitalData.Core.Abstractions.Security
|
|
{
|
|
public interface IRSADecryptor : IRSACryptographer
|
|
{
|
|
public string PrivateKeyPem { get; init; }
|
|
|
|
public string? Password { get; init; }
|
|
|
|
public IRSAEncryptor Encryptor { get; }
|
|
|
|
public byte[] Decrypt(byte[] data);
|
|
|
|
public string Decrypt(string data);
|
|
}
|
|
} |