({selector, keyringId, options = {}})
| 191 | } |
| 192 | |
| 193 | function keyBackupContainer({selector, keyringId, options = {}}) { |
| 194 | const container = new KeyBackupContainer(selector, keyringId, options); |
| 195 | containers.set(container.id, container); |
| 196 | return container.create(); |
| 197 | } |
| 198 | |
| 199 | function restoreBackupContainer({selector, keyringId, options = {}}) { |
| 200 | const container = new RestoreBackupContainer(selector, keyringId, options); |