refactor(IRSACryptographer): Umbenennung in IAsymmetricKey

This commit is contained in:
Developer 02
2025-01-07 11:03:14 +01:00
parent 14485af448
commit 4f96d271f3
6 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ using System.Security.Cryptography;
namespace DigitalData.Core.Abstractions.Security
{
public interface IRSACryptographer : IUniqueSecurityContext
public interface IAsymmetricKey : IUniqueSecurityContext
{
public string Pem { get; init; }

View File

@@ -2,7 +2,7 @@
namespace DigitalData.Core.Abstractions.Security
{
public interface IRSADecryptor : IRSACryptographer
public interface IRSADecryptor : IAsymmetricKey
{
public bool IsEncrypted { get; init; }

View File

@@ -1,6 +1,6 @@
namespace DigitalData.Core.Abstractions.Security
{
public interface IRSAEncryptor : IRSACryptographer
public interface IRSAEncryptor : IAsymmetricKey
{
public byte[] Encrypt(byte[] data);