An agent that stores and provides cryptographic keys to Bitwarden clients.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
367 B

using System.Threading.Tasks;
namespace Bit.KeyConnector.Services
{
public interface IRsaKeyService
{
Task<byte[]> DecryptAsync(byte[] data);
Task<byte[]> EncryptAsync(byte[] data);
Task<byte[]> SignAsync(byte[] data);
Task<bool> VerifyAsync(byte[] data, byte[] signature);
Task<byte[]> GetPublicKeyAsync();
}
}