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

Method importPubKey

src/controller/api.controller.js:104–107  ·  view source on GitHub ↗
({keyringId, armored})

Source from the content-addressed store, hash-verified

102 }
103
104 async importPubKey({keyringId, armored}) {
105 const importCtrl = await createController('importKeyDialog');
106 return importCtrl.importKey(keyringId, armored);
107 }
108
109 processAutocryptHeader({headers, keyringId}) {
110 if (autocrypt.isEnabled()) {

Callers

nothing calls this directly

Calls 2

createControllerFunction · 0.90
importKeyMethod · 0.45

Tested by

no test coverage detected