MCPcopy
hub / github.com/mailvelope/mailvelope / processAutocryptHeader

Method processAutocryptHeader

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

* Process Autocrypt header from message being read. * @param {AutocryptMailHeaders} headers - the relevant mail headers * @returns {Promise. } * @throws {Error} error.code = 'INVALID_HEADER' * error.code = 'STORAGE_ERROR'

(headers)

Source from the content-addressed store, hash-verified

340 * error.code = 'STORAGE_ERROR'
341 */
342 processAutocryptHeader(headers) {
343 return send('process-autocrypt-header', {identifier: this.identifier, headers});
344 }
345
346 /**
347 * Set logo for keyring. The image is persisted in Mailvelope with a revision number,

Callers 3

processHeaderFunction · 0.45

Calls 1

sendFunction · 0.70

Tested by

no test coverage detected