refactor(IRSAEncryptor): umbenannt in RSAPublicKey

This commit is contained in:
Developer 02 2025-01-07 11:39:12 +01:00
parent 9aafc9e467
commit 09dae1b1ac
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ namespace DigitalData.Core.Security.Cryptographer
public RSAPrivateKey() public RSAPrivateKey()
{ {
_lazyPublicKey = new(() => new RSAEncryptor() _lazyPublicKey = new(() => new RSAPublicKey()
{ {
Pem = RSA.ExportRSAPublicKeyPem(), Pem = RSA.ExportRSAPublicKeyPem(),
Padding = Padding Padding = Padding

View File

@ -2,7 +2,7 @@
namespace DigitalData.Core.Security.Cryptographer namespace DigitalData.Core.Security.Cryptographer
{ {
public class RSAEncryptor : RSAKeyBase, IAsymmetricPublicKey, IAsymmetricKey public class RSAPublicKey : RSAKeyBase, IAsymmetricPublicKey, IAsymmetricKey
{ {
public override string Pem public override string Pem
{ {