jiewen_tan@apple.com | d3f5b43 | 2016-11-15 19:08:25 +0000 | [diff] [blame] | 1 | Test exporting an AES key with malformed parameters |
| 2 | |
| 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 4 | |
| 5 | |
cdumez@apple.com | 73c7cf9 | 2017-07-19 20:24:15 +0000 | [diff] [blame] | 6 | PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported. |
| 7 | PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported. |
| 8 | PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported. |
| 9 | PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported. |
| 10 | PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported. |
| 11 | PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported. |
| 12 | PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported. |
| 13 | PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported. |
jiewen_tan@apple.com | d3f5b43 | 2016-11-15 19:08:25 +0000 | [diff] [blame] | 14 | PASS successfullyParsed is true |
| 15 | |
| 16 | TEST COMPLETE |
| 17 | |