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

Method storePrivate

src/modules/KeyStoreLocal.js:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 async storePrivate() {
44 await this.storeKeys(`mvelo.keyring.${this.id}.privateKeys`, this.privateKeys.keys);
45 }
46
47 async storeKeys(storageKey, keys) {
48 await mvelo.storage.set(storageKey, keys.map(key => key.armor()));

Callers 1

storeMethod · 0.95

Calls 1

storeKeysMethod · 0.95

Tested by

no test coverage detected