mirror of
https://github.com/bitwarden/browser
synced 2024-12-28 19:02:42 +01:00
update crypto interface
This commit is contained in:
parent
7c848edf3c
commit
1d9f28e185
@ -15,6 +15,11 @@ export interface CryptoService {
|
||||
getPrivateKey(): Promise<ArrayBuffer>;
|
||||
getOrgKeys(): Promise<Map<string, SymmetricCryptoKey>>;
|
||||
getOrgKey(orgId: string): Promise<SymmetricCryptoKey>;
|
||||
clearKey(): Promise<any>;
|
||||
clearKeyHash(): Promise<any>;
|
||||
clearEncKey(memoryOnly?: boolean): Promise<any>;
|
||||
clearPrivateKey(memoryOnly?: boolean): Promise<any>;
|
||||
clearOrgKeys(memoryOnly?: boolean): Promise<any>;
|
||||
clearKeys(): Promise<any>;
|
||||
toggleKey(): Promise<any>;
|
||||
makeKey(password: string, salt: string): SymmetricCryptoKey;
|
||||
|
Loading…
Reference in New Issue
Block a user