refactor(IAsymmetricKey): Umwandlung von RsaSecurityKey in SecurityKey zur besseren Abstraktion.
- RSAEncryptionPadding entfernen - Pem als Inhalt Content
This commit is contained in:
@@ -4,12 +4,12 @@ namespace DigitalData.Core.Security.RSAKey
|
||||
{
|
||||
public class RSAPublicKey : RSAKeyBase, IAsymmetricPublicKey, IAsymmetricKey
|
||||
{
|
||||
public override string Pem
|
||||
public override string Content
|
||||
{
|
||||
get => base.Pem;
|
||||
get => base.Content;
|
||||
init
|
||||
{
|
||||
base.Pem = value;
|
||||
base.Content = value;
|
||||
RSA.ImportFromPem(value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user