refactor(RSADecryptor): PublicKeyPem entfernt.

This commit is contained in:
Developer 02 2024-11-18 10:36:15 +01:00
parent 489ca67203
commit c39b554165

View File

@ -7,15 +7,13 @@
init => _rsa.ImportFromPem(value);
}
public string PublicKeyPem => _rsa.ExportRSAPublicKeyPem();
public RSAEncryptor Encryptor
{
get
{
return new ()
{
PublicKeyPem = PublicKeyPem,
PublicKeyPem = _rsa.ExportRSAPublicKeyPem(),
Padding = Padding
};
}