Refactor(Core.Security): Getrennte Pem-Eigenschaften für öffentliche und private Schlüssel wurden entfernt.
- Pem-Eigenschaft in der Hauptklasse RSACryptographer erstellt
This commit is contained in:
@@ -4,7 +4,9 @@ using System.Security.Cryptography;
|
||||
namespace DigitalData.Core.Security
|
||||
{
|
||||
public class RSACryptographer : IRSACryptographer
|
||||
{
|
||||
{
|
||||
public required string Pem { get; init; }
|
||||
|
||||
public required RSAEncryptionPadding Padding { get; init; }
|
||||
|
||||
protected readonly RSA _rsa = RSA.Create();
|
||||
|
||||
Reference in New Issue
Block a user