using Akari.Prototype.Server.Models; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Threading.Tasks; namespace Akari.Prototype.Server.Services { public interface IApplicationsManager : IEnumerable { bool TryCreate(string applicationName, out string applicationToken); bool Contains(string applicationName); bool IsFingerprintRegistered(string applicationName, string fingerprintName); bool Remove(string applicationName); bool AddFingerprint(string applicationName, string fingerprintName); bool TryRetrieveKey(string applicationName, string applicationToken, out AesGcm key); } }