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

Function keyGenContainer

src/content-scripts/clientAPI.js:186–191  ·  view source on GitHub ↗
({selector, keyringId, options = {}})

Source from the content-addressed store, hash-verified

184}
185
186function keyGenContainer({selector, keyringId, options = {}}) {
187 options.keySize = options.keySize || 2048;
188 const container = new KeyGenContainer(selector, keyringId, options);
189 containers.set(container.id, container);
190 return container.create();
191}
192
193function keyBackupContainer({selector, keyringId, options = {}}) {
194 const container = new KeyBackupContainer(selector, keyringId, options);

Callers

nothing calls this directly

Calls 2

createMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected