MCPcopy
hub / github.com/mailvelope/mailvelope / createEncryptedFormContainer

Method createEncryptedFormContainer

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

* Creates an iframe to display an encrypted form * The iframe will be injected into the container identified by selector. * @param {CssSelector} selector - target container * @param {String} formHtml - the form definition * @param {AsciiArmored} signature - the OpenPGP signature over the

(selector, formHtml, signature)

Source from the content-addressed store, hash-verified

182 * @throws {Error} error.code = 'INVALID_FORM' the form definition is not valid
183 */
184 createEncryptedFormContainer(selector, formHtml, signature) {
185 return send('encrypted-form-container', {selector, formHtml, signature});
186 }
187}
188
189// connection to content script is alive

Callers 1

connectedCallbackMethod · 0.80

Calls 1

sendFunction · 0.70

Tested by

no test coverage detected