MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / restoreBackupContainer

Method restoreBackupContainer

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

* Creates an iframe to restore the backup. * @param {CssSelector} selector - target container * @param {PrivateKeyContainerOptions} options * @returns {Promise. }

(selector, options)

Source from the content-addressed store, hash-verified

416 * @returns {Promise.<undefined, Error>}
417 */
418 restoreBackupContainer(selector, options) {
419 return send('restore-backup-container', {selector, identifier: this.identifier, options}).then(restoreId => new RestoreBackup(restoreId));
420 }
421
422 /**
423 * Check if keyring contains valid private key with given fingerprint

Callers

nothing calls this directly

Calls 1

sendFunction · 0.70

Tested by

no test coverage detected