* Creates an iframe to display the key generation container. * The iframe will be injected into the container identified by selector. * @param {CssSelector} selector - target container * @param {KeyGenContainerOptions} options * @returns {Promise. } * @throws {Error}
(selector, options)
| 386 | * @throws {Error} error.code = 'INPUT_NOT_VALID' |
| 387 | */ |
| 388 | createKeyGenContainer(selector, options) { |
| 389 | return send('key-gen-container', {selector, identifier: this.identifier, options}).then(generatorId => new Generator(generatorId)); |
| 390 | } |
| 391 | |
| 392 | /** |
| 393 | * @typedef {Object} KeyBackupContainerOptions |