refactor(IRSAEncryptor): umbenannt in IAsymmetricPublicKey

This commit is contained in:
Developer 02
2025-01-07 11:33:53 +01:00
parent 4ce738957d
commit 9aafc9e467
6 changed files with 11 additions and 11 deletions

View File

@@ -6,6 +6,6 @@
IAsymmetricPrivateKey VaultPrivateKey { get; }
IEnumerable<IRSAEncryptor> Encryptors { get; }
IEnumerable<IAsymmetricPublicKey> PublicKeys { get; }
}
}

View File

@@ -6,7 +6,7 @@ namespace DigitalData.Core.Abstractions.Security
{
public bool IsEncrypted { get; init; }
IRSAEncryptor Encryptor { get; }
IAsymmetricPublicKey PublicKey { get; }
byte[] Decrypt(byte[] data);

View File

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