| OLD | NEW |
| 1 Test that even when non-extractability is requested, the public key is still ext
ractable. | 1 Test that even when non-extractability is requested, the public key is still ext
ractable. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 Generating a key pair... | 6 Generating a key pair... |
| 7 PASS keyPair.toString() is '[object Object]' | 7 PASS keyPair.toString() is '[object Object]' |
| 8 PASS keyPair.publicKey.type is 'public' | 8 PASS keyPair.publicKey.type is 'public' |
| 9 PASS keyPair.publicKey.extractable is true | 9 PASS keyPair.publicKey.extractable is true |
| 10 PASS keyPair.publicKey.algorithm.name is 'RSA-OAEP' | 10 PASS keyPair.publicKey.algorithm.name is 'RSA-OAEP' |
| 11 PASS keyPair.publicKey.algorithm.modulusLength is 512 | 11 PASS keyPair.publicKey.algorithm.modulusLength is 512 |
| 12 PASS bytesToHexString(keyPair.publicKey.algorithm.publicExponent) is '010001' | 12 PASS bytesToHexString(keyPair.publicKey.algorithm.publicExponent) is '010001' |
| 13 PASS keyPair.publicKey.algorithm.hash.name is 'SHA-256' | 13 PASS keyPair.publicKey.algorithm.hash.name is 'SHA-256' |
| 14 PASS keyPair.privateKey.type is 'private' | 14 PASS keyPair.privateKey.type is 'private' |
| 15 PASS keyPair.privateKey.extractable is false | 15 PASS keyPair.privateKey.extractable is false |
| 16 PASS keyPair.privateKey.algorithm.name is 'RSA-OAEP' | 16 PASS keyPair.privateKey.algorithm.name is 'RSA-OAEP' |
| 17 PASS keyPair.privateKey.algorithm.modulusLength is 512 | 17 PASS keyPair.privateKey.algorithm.modulusLength is 512 |
| 18 PASS bytesToHexString(keyPair.privateKey.algorithm.publicExponent) is '010001' | 18 PASS bytesToHexString(keyPair.privateKey.algorithm.publicExponent) is '010001' |
| 19 PASS keyPair.privateKey.algorithm.hash.name is 'SHA-256' | 19 PASS keyPair.privateKey.algorithm.hash.name is 'SHA-256' |
| 20 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
| 21 | 21 |
| 22 TEST COMPLETE | 22 TEST COMPLETE |
| 23 | 23 |
| OLD | NEW |