(algorithm, _extractable)
| 28 | } |
| 29 | |
| 30 | static generateKey(algorithm, _extractable) { |
| 31 | const cipher = new DHCipher; |
| 32 | cipher._generateKey(algorithm); |
| 33 | return { privateKey: cipher, publicKey: new DHPublicKey(cipher._publicKey) }; |
| 34 | } |
| 35 | |
| 36 | _generateKey(algorithm) { |
| 37 | const g = algorithm.g; |
no test coverage detected