MCPcopy
hub / github.com/mailvelope/mailvelope / getForAddress

Method getForAddress

src/modules/keyStore.js:31–36  ·  view source on GitHub ↗
(email)

Source from the content-addressed store, hash-verified

29 }
30
31 getForAddress(email) {
32 const result = [];
33 result.push(...this.publicKeys.getForAddress(email));
34 result.push(...this.privateKeys.getForAddress(email));
35 return result;
36 }
37
38 getAllKeys() {
39 return this.publicKeys.keys.concat(this.privateKeys.keys);

Callers

nothing calls this directly

Calls 2

pushMethod · 0.45
getForAddressMethod · 0.45

Tested by

no test coverage detected