refactor(IAsymmetricKey): Umwandlung von RsaSecurityKey in SecurityKey zur besseren Abstraktion.

- RSAEncryptionPadding entfernen
 - Pem als Inhalt Content
This commit is contained in:
Developer 02
2025-01-07 16:53:05 +01:00
parent 34e14fd2f5
commit 608d266d1c
5 changed files with 14 additions and 16 deletions

View File

@@ -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);
}
}