Implement IKeyManager
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user