OLD | NEW |
1 Tests bad algorithm inputs for RSA-OAEP encrypt | 1 Tests bad algorithm inputs for RSA-OAEP encrypt |
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 PASS publicKey.algorithm.name is "RSA-OAEP" | 6 PASS publicKey.algorithm.name is "RSA-OAEP" |
7 PASS publicKey.algorithm.hash.name is "SHA-256" | 7 PASS publicKey.algorithm.hash.name is "SHA-256" |
8 PASS publicKey.type is "public" | 8 PASS publicKey.type is "public" |
9 PASS typeof publicKey.extractable is 'boolean' | 9 PASS typeof publicKey.extractable is 'boolean' |
10 PASS publicKey.extractable is true | 10 PASS publicKey.extractable is true |
11 PASS publicKey.usages.join(',') is "encrypt" | 11 PASS publicKey.usages.join(',') is "encrypt" |
12 error is: TypeError: RsaOaepParams: label: Not a BufferSource | 12 error is: TypeError: RsaOaepParams: label: Not a BufferSource |
13 error is: TypeError: RsaOaepParams: label: Not a BufferSource | 13 error is: TypeError: RsaOaepParams: label: Not a BufferSource |
14 PASS successfullyParsed is true | 14 PASS successfullyParsed is true |
15 | 15 |
16 TEST COMPLETE | 16 TEST COMPLETE |
17 | 17 |
OLD | NEW |