Implement IKeyManager

This commit is contained in:
2021-06-07 01:44:47 +02:00
parent efbac54600
commit f539455e10
7 changed files with 331 additions and 55 deletions

View File

@@ -16,6 +16,7 @@ namespace Akari.Prototype.Server.Services
void Auth(string name, byte[] token);
bool TryGetKey(string name, out AesGcm key);
bool TryGetKey(IEnumerable<string> names, out string name, out AesGcm key);
bool Remove(string name);
}