Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Side by Side Diff: components/test/data/webcrypto/bad_rsa_keys.json

Issue 1077273002: html_viewer: Move webcrypto to a place where html_viewer can use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 ]
OLDNEW
« no previous file with comments | « components/test/data/webcrypto/bad_ec_keys.json ('k') | components/test/data/webcrypto/ec_private_keys.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698