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

Method removeKeysForId

src/modules/keyStore.js:24–29  ·  view source on GitHub ↗
(keyId)

Source from the content-addressed store, hash-verified

22 }
23
24 removeKeysForId(keyId) {
25 let result = [];
26 result = result.concat(this.publicKeys.removeForId(keyId) || []);
27 result = result.concat(this.privateKeys.removeForId(keyId) || []);
28 return result.length ? result : null;
29 }
30
31 getForAddress(email) {
32 const result = [];

Callers 1

importKeysMethod · 0.80

Calls 1

removeForIdMethod · 0.80

Tested by

no test coverage detected