refactor(RSADecryptor): PublicKeyPem entfernt.
This commit is contained in:
parent
489ca67203
commit
c39b554165
@ -7,15 +7,13 @@
|
|||||||
init => _rsa.ImportFromPem(value);
|
init => _rsa.ImportFromPem(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public string PublicKeyPem => _rsa.ExportRSAPublicKeyPem();
|
|
||||||
|
|
||||||
public RSAEncryptor Encryptor
|
public RSAEncryptor Encryptor
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return new ()
|
return new ()
|
||||||
{
|
{
|
||||||
PublicKeyPem = PublicKeyPem,
|
PublicKeyPem = _rsa.ExportRSAPublicKeyPem(),
|
||||||
Padding = Padding
|
Padding = Padding
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user