Files
Akari.Prototype/Akari.Prototype.Server/Services/IKeyManager.cs
Eveldee a3349e23c9 Fix IKeyManager
Now correctly delete key folder while avoiding issues
2021-06-07 16:12:20 +02:00

21 lines
585 B
C#

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