(algorithm, extractable, _keyUsages)
| 31 | } |
| 32 | |
| 33 | static async generateKey(algorithm, extractable, _keyUsages) { |
| 34 | const cipher = new RSACipher; |
| 35 | await cipher._generateKey(algorithm, extractable); |
| 36 | return { privateKey: cipher }; |
| 37 | } |
| 38 | |
| 39 | async _generateKey(algorithm, extractable) { |
| 40 | this._keyLength = algorithm.modulusLength; |
no test coverage detected