1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

hasEncKey checks

This commit is contained in:
Kyle Spearrin
2018-07-12 17:07:06 -04:00
parent 5fac067713
commit cc6f732a14
3 changed files with 7 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ export abstract class CryptoService {
getOrgKeys: () => Promise<Map<string, SymmetricCryptoKey>>;
getOrgKey: (orgId: string) => Promise<SymmetricCryptoKey>;
hasKey: () => Promise<boolean>;
hasEncKey: () => Promise<boolean>;
clearKey: () => Promise<any>;
clearKeyHash: () => Promise<any>;
clearEncKey: (memoryOnly?: boolean) => Promise<any>;