refactor(IRSAEncryptor): umbenannt in IAsymmetricPublicKey
This commit is contained in:
@@ -6,6 +6,6 @@
|
||||
|
||||
IAsymmetricPrivateKey VaultPrivateKey { get; }
|
||||
|
||||
IEnumerable<IRSAEncryptor> Encryptors { get; }
|
||||
IEnumerable<IAsymmetricPublicKey> PublicKeys { get; }
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ namespace DigitalData.Core.Abstractions.Security
|
||||
{
|
||||
public bool IsEncrypted { get; init; }
|
||||
|
||||
IRSAEncryptor Encryptor { get; }
|
||||
IAsymmetricPublicKey PublicKey { get; }
|
||||
|
||||
byte[] Decrypt(byte[] data);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace DigitalData.Core.Abstractions.Security
|
||||
{
|
||||
public interface IRSAEncryptor : IAsymmetricKey
|
||||
public interface IAsymmetricPublicKey : IAsymmetricKey
|
||||
{
|
||||
public byte[] Encrypt(byte[] data);
|
||||
|
||||
Reference in New Issue
Block a user