refactor(IRSAEncryptor): umbenannt in RSAPublicKey
This commit is contained in:
parent
9aafc9e467
commit
09dae1b1ac
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
{
|
{
|
||||||
Loading…
x
Reference in New Issue
Block a user