Files
Akari.Prototype/Akari.Prototype.Server/Services/IMasterKeyService.cs
2021-06-06 20:06:04 +02:00

22 lines
457 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 IMasterKeyService
{
public bool IsLoggedIn { get; }
public bool CheckConfig();
public bool Login(string password);
public bool TryGetKey(out AesGcm key);
public bool CreatePassword(string password);
}
}