mirror of
https://github.com/bitwarden/browser
synced 2024-12-29 11:22:30 +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