| OLD | NEW |
| 1 Test generating, importing and exporting RSA keys for RSA-OAEP. Test that they c
an't be used with another algorithm. | 1 Test generating, importing and exporting RSA keys for RSA-OAEP. Test that they c
an't be used with another algorithm. |
| 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.algorithm.name is 'RSA-OAEP' | 9 PASS keyPair.publicKey.algorithm.name is 'RSA-OAEP' |
| 10 PASS keyPair.publicKey.algorithm.modulusLength is 512 | 10 PASS keyPair.publicKey.algorithm.modulusLength is 512 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 PASS exportedPublicKey.algorithm.name is 'RSA-OAEP' | 41 PASS exportedPublicKey.algorithm.name is 'RSA-OAEP' |
| 42 PASS exportedPublicKey.algorithm.modulusLength is 512 | 42 PASS exportedPublicKey.algorithm.modulusLength is 512 |
| 43 PASS bytesToHexString(exportedPublicKey.algorithm.publicExponent) is '010001' | 43 PASS bytesToHexString(exportedPublicKey.algorithm.publicExponent) is '010001' |
| 44 PASS exportedPublicKey.algorithm.hash.name is 'SHA-1' | 44 PASS exportedPublicKey.algorithm.hash.name is 'SHA-1' |
| 45 PASS exportedPublicKey.extractable is true | 45 PASS exportedPublicKey.extractable is true |
| 46 PASS exportedPublicKey.usages is ['encrypt','wrapKey'] | 46 PASS exportedPublicKey.usages is ['encrypt','wrapKey'] |
| 47 PASS successfullyParsed is true | 47 PASS successfullyParsed is true |
| 48 | 48 |
| 49 TEST COMPLETE | 49 TEST COMPLETE |
| 50 | 50 |
| OLD | NEW |