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

Method exportOwnPublicKey

src/client-API/client-api.js:282–284  ·  view source on GitHub ↗

* Exports the public key as an ascii armored string. * Only keys belonging to the user (corresponding private key exists) can be exported. * @param {String} emailAddr - email address to identify the public+private key * @returns {Promise. } * @throws {Error} error.cod

(emailAddr)

Source from the content-addressed store, hash-verified

280 * });
281 */
282 exportOwnPublicKey(emailAddr) {
283 return send('export-own-pub-key', {identifier: this.identifier, emailAddr});
284 }
285
286 /**
287 * @typedef {Object} additionalMailHeaders

Callers

nothing calls this directly

Calls 1

sendFunction · 0.70

Tested by

no test coverage detected