OLD | NEW |
| (Empty) |
1 Test error handling for JWK import. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 error is: DataError: The required JWK member "kty" was missing | |
7 error is: DataError: The required JWK member "kty" was missing | |
8 error is: DataError: The required JWK member "kty" was missing | |
9 error is: DataError: The JWK "kty" member was not "oct" | |
10 error is: DataError: The JWK "alg" member was inconsistent with that specified b
y the Web Crypto call | |
11 error is: DataError: The JWK "alg" member was inconsistent with that specified b
y the Web Crypto call | |
12 error is: DataError: The JWK "alg" member was inconsistent with that specified b
y the Web Crypto call | |
13 error is: DataError: The required JWK member "k" was missing | |
14 error is: DataError: The required JWK member "k" was missing | |
15 error is: DataError: The JWK "k" member did not include the right length of key
data for the given algorithm. | |
16 error is: DataError: The JWK "k" member did not include the right length of key
data for the given algorithm. | |
17 | |
18 importKey() with 'k' member containing '+' and '/' characters... | |
19 error is: DataError: The JWK member "k" could not be base64url decoded or contai
ned padding | |
20 error is: DataError: The JWK "kty" member was not "oct" | |
21 error is: DataError: The JWK "alg" member was inconsistent with that specified b
y the Web Crypto call | |
22 error is: DataError: The JWK "use" member could not be parsed | |
23 Boolean JWK property passed as a string and worked | |
24 String JWK property passed as a number and worked | |
25 PASS successfullyParsed is true | |
26 | |
27 TEST COMPLETE | |
28 | |
OLD | NEW |