blob: b8a2f1df1c51fdbfaabf5e8c20a9ed7db7374d14 [file] [log] [blame]
Test exporting a RSA key with malformed parameters
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS crypto.subtle.exportKey("pkcs8", publicKey) rejected promise with InvalidAccessError: The requested operation is not valid for the provided key.
PASS crypto.subtle.exportKey("raw", publicKey) rejected promise with NotSupportedError: The algorithm is not supported.
PASS crypto.subtle.exportKey("spki", privateKey) rejected promise with InvalidAccessError: The requested operation is not valid for the provided key.
PASS successfullyParsed is true
TEST COMPLETE