mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
allow userId and pub key to be passed in
This commit is contained in:
@@ -16,7 +16,7 @@ export abstract class CryptoService {
|
||||
getEncKey: () => Promise<SymmetricCryptoKey>;
|
||||
getPublicKey: () => Promise<ArrayBuffer>;
|
||||
getPrivateKey: () => Promise<ArrayBuffer>;
|
||||
getFingerprint: () => Promise<string[]>;
|
||||
getFingerprint: (userId: string, publicKey?: ArrayBuffer) => Promise<string[]>;
|
||||
getOrgKeys: () => Promise<Map<string, SymmetricCryptoKey>>;
|
||||
getOrgKey: (orgId: string) => Promise<SymmetricCryptoKey>;
|
||||
hasKey: () => Promise<boolean>;
|
||||
|
||||
Reference in New Issue
Block a user