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

hasKey helper

This commit is contained in:
Kyle Spearrin
2018-06-13 17:10:52 -04:00
parent 6aa922f380
commit eda99e4f12
2 changed files with 12 additions and 7 deletions

View File

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