MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / getKeysForId

Method getKeysForId

src/modules/keyStore.js:17–22  ·  view source on GitHub ↗
(keyId, deep)

Source from the content-addressed store, hash-verified

15 }
16
17 getKeysForId(keyId, deep) {
18 let result = [];
19 result = result.concat(this.publicKeys.getForId(keyId, deep) || []);
20 result = result.concat(this.privateKeys.getForId(keyId, deep) || []);
21 return result.length ? result : null;
22 }
23
24 removeKeysForId(keyId) {
25 let result = [];

Callers 11

syncPublicKeysFunction · 0.80
mapUsersFunction · 0.80
checkKeyIdFunction · 0.80
addSignatureDetailsFunction · 0.80
importPublicKeyMethod · 0.80
importPrivateKeyMethod · 0.80
getKeyDetailsMethod · 0.80
getArmoredKeysMethod · 0.80
getKeysByFprsMethod · 0.80
getFprForKeyIdMethod · 0.80
importKeyMethod · 0.80

Calls 1

getForIdMethod · 0.80

Tested by

no test coverage detected