22 lines
457 B
C#
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);
|
|
}
|
|
}
|