refactor(RSADecryptor): PublicKeyPem entfernt.
This commit is contained in:
parent
489ca67203
commit
c39b554165
@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user