* Asks the user if they want to import the public key. * @param {AsciiArmored} armored - public key to import * @returns {Promise. } 'IMPORTED' - key has been imported 'UPDATED' - key already in keyring, new key merged with existing ke
(armored)
| 322 | error.code = 'WRONG_ARMORED_TYPE' |
| 323 | */ |
| 324 | importPublicKey(armored) { |
| 325 | return send('import-pub-key', {identifier: this.identifier, armored}); |
| 326 | } |
| 327 | |
| 328 | /** |
| 329 | * @typedef {Object} AutocryptMailHeaders |