18 lines
1.1 KiB
Plaintext
18 lines
1.1 KiB
Plaintext
Test exporting an AES key with malformed parameters
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
|
|
PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
|
|
PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
|
|
PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
|
|
PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
|
|
PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
|
|
PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
|
|
PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|