Files
Akari.Prototype/Akari.Prototype.Server/Services/IKeyManager.cs
2021-06-07 01:44:47 +02:00

20 lines
547 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
namespace Akari.Prototype.Server.Services
{
public interface IKeyManager
{
public bool AddFingerprint(string applicationName, string fingerprintName, AesGcm fingerprintKey);
public void Clear(string applicationName);
public bool Create(string applicationName);
public AesGcm RetrieveKey(string applicationName, string fingerprintName, AesGcm fingerprintKey);
}
}