(selector, keyringId, options)
| 8 | |
| 9 | export default class DecryptContainer { |
| 10 | constructor(selector, keyringId, options) { |
| 11 | this.selector = selector; |
| 12 | this.keyringId = keyringId; |
| 13 | this.options = options; |
| 14 | this.id = getUUID(); |
| 15 | this.port = EventHandler.connect(`decryptCont-${this.id}`, this); |
| 16 | this.registerEventListener(); |
| 17 | this.parent = null; |
| 18 | this.container = null; |
| 19 | this.armored = null; |
| 20 | } |
| 21 | |
| 22 | create(armored) { |
| 23 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected