16 lines
412 B
C#

using DigitalData.Core.Abstractions.Security;
using System.Security.Cryptography;
namespace DigitalData.Core.Security
{
public class RSACryptographer : IRSACryptographer
{
public required virtual string Pem { get; init; }
public required RSAEncryptionPadding Padding { get; init; }
protected readonly RSA _rsa = RSA.Create();
internal RSACryptographer() { }
}
}