OLD | NEW |
| (Empty) |
1 Tests bad algorithm inputs for RSA-OAEP encrypt | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS publicKey.algorithm.name is "RSA-OAEP" | |
7 PASS publicKey.algorithm.hash.name is "SHA-256" | |
8 PASS publicKey.type is "public" | |
9 PASS typeof publicKey.extractable is 'boolean' | |
10 PASS publicKey.extractable is true | |
11 PASS publicKey.usages.join(',') is "encrypt" | |
12 error is: TypeError: RsaOaepParams: label: Not a BufferSource | |
13 error is: TypeError: RsaOaepParams: label: Not a BufferSource | |
14 PASS successfullyParsed is true | |
15 | |
16 TEST COMPLETE | |
17 | |
OLD | NEW |