| OLD | NEW |
| 1 // This file contains incorrect key data in a variety of formats. | 1 // This file contains incorrect key data in a variety of formats. |
| 2 // "key" -- either a dictionary for JWK, or hex encoded bytes for PKCS8/SPKI. | 2 // "key" -- either a dictionary for JWK, or hex encoded bytes for PKCS8/SPKI. |
| 3 // "key_format" -- one of: "jwk", "pkcs8", "spki" | 3 // "key_format" -- one of: "jwk", "pkcs8", "spki" |
| 4 // "error" -- The expected rejection reason when importing the key. | 4 // "error" -- The expected rejection reason when importing the key. |
| 5 [ | 5 [ |
| 6 | 6 |
| 7 // This is a valid key (ValidKey). It forms the basis for later manipulations | 7 // This is a valid key (ValidKey). It forms the basis for later manipulations |
| 8 // so its validity is tested separately. | 8 // so its validity is tested separately. |
| 9 { | 9 { |
| 10 "key_format": "jwk", | 10 "key_format": "jwk", |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 "e": "AQAB", | 301 "e": "AQAB", |
| 302 "kty": "RSA", | 302 "kty": "RSA", |
| 303 "n": "tFJAFt_UiJsHlRavDgOxOnYKTHkV-cF1aTDtkzNg6WYt9geaPbAvFnR3FVO0BFsl8tz
PzMOTkI_kbOfCfAw3FQ", | 303 "n": "tFJAFt_UiJsHlRavDgOxOnYKTHkV-cF1aTDtkzNg6WYt9geaPbAvFnR3FVO0BFsl8tz
PzMOTkI_kbOfCfAw3FQ", |
| 304 "p": "7kMQn01JVhyHM7B85hLUuNBDsXiboMc4Di81qmxX7r0", | 304 "p": "7kMQn01JVhyHM7B85hLUuNBDsXiboMc4Di81qmxX7r0", |
| 305 "q": "wb7rEiGxG4CrybVYns9voNQM2NPCuCEgWPLA_vCkuzk", | 305 "q": "wb7rEiGxG4CrybVYns9voNQM2NPCuCEgWPLA_vCkuzk", |
| 306 "qi": "6rrPQ4YaOLNGtG7TrLXUR_FSWpOFSUveHTHbFQU6iNU" | 306 "qi": "6rrPQ4YaOLNGtG7TrLXUR_FSWpOFSUveHTHbFQU6iNU" |
| 307 }, | 307 }, |
| 308 "error": "DataError: The JWK member \"dq\" could not be base64url decoded or
contained padding" | 308 "error": "DataError: The JWK member \"dq\" could not be base64url decoded or
contained padding" |
| 309 } | 309 } |
| 310 ] | 310 ] |
| OLD | NEW |