OLD | NEW |
1 Test error handling for JWK import. | 1 Test error handling for JWK import. |
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 error is: DataError: No key data was provided | 6 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio
n was found that matched the signature provided. |
7 error is: DataError: JWK input could not be parsed to a JSON dictionary | 7 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio
n was found that matched the signature provided. |
8 error is: DataError: JWK input could not be parsed to a JSON dictionary | |
9 error is: DataError: JWK input could not be parsed to a JSON dictionary | |
10 error is: DataError: The required JWK property "kty" was missing | 8 error is: DataError: The required JWK property "kty" was missing |
11 error is: DataError: The JWK "kty" property was unrecognized | 9 error is: DataError: The JWK "kty" property was unrecognized |
12 error is: DataError: The JWK "alg" property was not recognized | 10 error is: DataError: The JWK "alg" property was not recognized |
13 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call | 11 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call |
14 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call | 12 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call |
15 error is: DataError: The required JWK property "k" was missing | 13 error is: DataError: The required JWK property "k" was missing |
16 error is: DataError: The required JWK property "k" was missing | 14 error is: DataError: The required JWK property "k" was missing |
17 error is: DataError: The JWK "k" property did not include the right length of ke
y data for the given algorithm. | 15 error is: DataError: The JWK "k" property did not include the right length of ke
y data for the given algorithm. |
18 error is: DataError: The JWK "k" property did not include the right length of ke
y data for the given algorithm. | 16 error is: DataError: The JWK "k" property did not include the right length of ke
y data for the given algorithm. |
19 error is: DataError: The JWK property "kty" must be a string | 17 error is: DataError: The JWK "kty" property was unrecognized |
20 error is: DataError: The JWK property "alg" must be a string | 18 error is: DataError: The JWK "alg" property was not recognized |
21 error is: DataError: The JWK property "use" must be a string | 19 error is: DataError: The JWK "use" property could not be parsed |
22 error is: DataError: The JWK property "ext" must be a boolean | 20 Boolean JWK property passed as a string and worked |
23 error is: DataError: The JWK property "k" must be a string | 21 String JWK property passed as a number and worked |
24 PASS successfullyParsed is true | 22 PASS successfullyParsed is true |
25 | 23 |
26 TEST COMPLETE | 24 TEST COMPLETE |
27 | 25 |
OLD | NEW |