Index: LayoutTests/crypto/resources/keys.js |
diff --git a/LayoutTests/crypto/resources/keys.js b/LayoutTests/crypto/resources/keys.js |
deleted file mode 100644 |
index 91bd7fb4ce4b33dfc3798262add36cff5ddd82b7..0000000000000000000000000000000000000000 |
--- a/LayoutTests/crypto/resources/keys.js |
+++ /dev/null |
@@ -1,150 +0,0 @@ |
-var kKeyData = { |
- |
- // The following key pair is comprised of the SPKI (public key) and PKCS#8 |
- // (private key) representations of the key pair provided in Example 1 of the |
- // NIST test vectors at ftp://ftp.rsa.com/pub/rsalabs/tmp/pkcs1v15sign-vectors.txt |
- rsa1: { |
- modulusLengthBits: 1024, |
- publicExponent: "010001", |
- |
- spki: "30819f300d06092a864886f70d010101050003818d0030818902818100a56e4a0e701017" + |
- "589a5187dc7ea841d156f2ec0e36ad52a44dfeb1e61f7ad991d8c51056ffedb162b4c0f2" + |
- "83a12a88a394dff526ab7291cbb307ceabfce0b1dfd5cd9508096d5b2b8b6df5d671ef63" + |
- "77c0921cb23c270a70e2598e6ff89d19f105acc2d3f0cb35f29280e1386b6f64c4ef22e1" + |
- "e1f20d0ce8cffb2249bd9a21370203010001", |
- |
- pkcs8: "30820275020100300d06092a864886f70d01010105000482025f3082025b020100028181" + |
- "00a56e4a0e701017589a5187dc7ea841d156f2ec0e36ad52a44dfeb1e61f7ad991d8c510" + |
- "56ffedb162b4c0f283a12a88a394dff526ab7291cbb307ceabfce0b1dfd5cd9508096d5b" + |
- "2b8b6df5d671ef6377c0921cb23c270a70e2598e6ff89d19f105acc2d3f0cb35f29280e1" + |
- "386b6f64c4ef22e1e1f20d0ce8cffb2249bd9a2137020301000102818033a5042a90b27d" + |
- "4f5451ca9bbbd0b44771a101af884340aef9885f2a4bbe92e894a724ac3c568c8f97853a" + |
- "d07c0266c8c6a3ca0929f1e8f11231884429fc4d9ae55fee896a10ce707c3ed7e734e447" + |
- "27a39574501a532683109c2abacaba283c31b4bd2f53c3ee37e352cee34f9e503bd80c06" + |
- "22ad79c6dcee883547c6a3b325024100e7e8942720a877517273a356053ea2a1bc0c94aa" + |
- "72d55c6e86296b2dfc967948c0a72cbccca7eacb35706e09a1df55a1535bd9b3cc34160b" + |
- "3b6dcd3eda8e6443024100b69dca1cf7d4d7ec81e75b90fcca874abcde123fd2700180aa" + |
- "90479b6e48de8d67ed24f9f19d85ba275874f542cd20dc723e6963364a1f9425452b269a" + |
- "6799fd024028fa13938655be1f8a159cbaca5a72ea190c30089e19cd274a556f36c4f6e1" + |
- "9f554b34c077790427bbdd8dd3ede2448328f385d81b30e8e43b2fffa02786197902401a" + |
- "8b38f398fa712049898d7fb79ee0a77668791299cdfa09efc0e507acb21ed74301ef5bfd" + |
- "48be455eaeb6e1678255827580a8e4e8e14151d1510a82a3f2e729024027156aba4126d2" + |
- "4a81f3a528cbfb27f56886f840a9f6e86e17a44b94fe9319584b8e22fdde1e5a2e3bd8aa" + |
- "5ba8d8584194eb2190acf832b847f13a3d24a79f4d", |
- }, |
- |
- // FIXME: Replace rsa2,rsa3 with a key pair (unknown what private key was for |
- // these). |
- rsa2: { |
- modulusLengthBits: 1024, |
- publicExponent: "010001", |
- |
- spki: "30819f300d06092a864886f70d010101050003818d0030818902818100b2" + |
- "89c62ecc3ddf64154817203439eaa0dc07a65954429a7b6098a77235673d" + |
- "96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09" + |
- "eb490eb7cb953c388668b759263f61d6a7dfcabf27b5c9d6972455b12b66" + |
- "d483843286d6b871f35f912a773c97c1932255fcee05ce7b8af213879f01" + |
- "7de4232a306a410203010001" |
- }, |
- |
- rsa3: { |
- modulusLengthBits: 2048, |
- publicExponent: "010001", |
- |
- spki: "30820122300d06092a864886f70d01010105000382010f003082010a0282" + |
- "010100b4c8b631194aef0154b1479ab7a534b60ca878981108680f0ae6b7" + |
- "c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba9" + |
- "67062ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c5" + |
- "30b90fe9bf9f3979ccec050a48e8923045b19368e1e89ea4157538e8059e" + |
- "53320f47c155f1741310a93ed153a7f3af2d46c388b95d82518527a02b7b" + |
- "d9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533" + |
- "e001cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f650" + |
- "59ccc85a2190ce1385152d62785e00cae702e77c4c597b86a6268adbf043" + |
- "dda68881c790f1517671fb7d198fca5ba97bef0203010001" |
- }, |
- |
- // The following key pair was generated using: |
- // |
- // openssl genrsa -out pair.pem 2048 |
- // openssl rsa -in pair.pem -out spki.der -outform DER -pubout |
- // openssl pkcs8 -topk8 -inform PEM -outform DER -in pair.pem -out pkcs8.der -nocrypt |
- // xxd -p spki.der |
- // xxd -p pkcs8.der |
- rsa4: { |
- modulusLengthBits: 2048, |
- publicExponent: "010001", |
- |
- spki: "30820122300d06092a864886f70d01010105000382010f003082010a0282" + |
- "010100e085e33c42d3f3d63434e0bf1b812c444e790ff6c0becf2cc9de89" + |
- "5afa601457bd0fafa81e2b977ab818d086d018491d7ff45be40e916c4c81" + |
- "b3d055ac1803b514e1010b983ff072b77fa228dd47024e65a3c72ab4e2ed" + |
- "02901ba43351dcd87beef92036983c42495d9efec5b4ea1113848b532870" + |
- "99cff1ba58a7829af733f19269101da8c10aa1d5d6b34d381dbb0704e589" + |
- "04c3504a1922f6956e95596780a5db08fe944ff3056ec070eafa66f8c1c5" + |
- "d7dcde4ce2c2694f240aec528eb699089e29f669fb3405c47d6309a60993" + |
- "6e8b64e003b5f40743be6b7c2d5673e305cc4e2d154b2a046fba889b6091" + |
- "3271b00d5321fd15f82cc41b2894ffc2e54d0b0203010001", |
- |
- pkcs8: "308204bd020100300d06092a864886f70d0101010500048204a7308204a3" + |
- "0201000282010100e085e33c42d3f3d63434e0bf1b812c444e790ff6c0be" + |
- "cf2cc9de895afa601457bd0fafa81e2b977ab818d086d018491d7ff45be4" + |
- "0e916c4c81b3d055ac1803b514e1010b983ff072b77fa228dd47024e65a3" + |
- "c72ab4e2ed02901ba43351dcd87beef92036983c42495d9efec5b4ea1113" + |
- "848b53287099cff1ba58a7829af733f19269101da8c10aa1d5d6b34d381d" + |
- "bb0704e58904c3504a1922f6956e95596780a5db08fe944ff3056ec070ea" + |
- "fa66f8c1c5d7dcde4ce2c2694f240aec528eb699089e29f669fb3405c47d" + |
- "6309a609936e8b64e003b5f40743be6b7c2d5673e305cc4e2d154b2a046f" + |
- "ba889b60913271b00d5321fd15f82cc41b2894ffc2e54d0b020301000102" + |
- "8201007ae930b59b8bf66f6c130a79f42fa9b117187521caf069f005eeda" + |
- "58c0b9fa48f1c9f58a5e41d4e22c880117dc317f4d33efeca2134b8ef2ef" + |
- "0a25e1d09d30e25fb4b162cc8d2c2f50bf0161c78908fd2bed15aa0e6e2f" + |
- "fb78327998529748b7c7e1ffbd8367718e423f390fb8736eb7b596a4067e" + |
- "65e58d5a4b1020927f03a293d5d3b32931d2a06542e9bbeab7e90085afc9" + |
- "fe145d1c28f44a97f8d9eb8c41913ed9f40261ac5f86806254e26aa8502b" + |
- "92779794a7b08ea299865cbdfeab4dd16307169902b46dbe132b035f7e27" + |
- "42f779f5b39a0b40099434a8af14c78f705abaa7474633a7c6306b2673a9" + |
- "7aae35b6a3bf6a5fdd9a6b8d17bd6bbfa1872902818100f2bdbf99a43a40" + |
- "64ac5c85ccff42cccf14fa35250a8d77db6746478d0aea456377dc304688" + |
- "a55b1d2b14c46189ff4f92b078902ff66d144116038667cbbf5bfe80a775" + |
- "aa6eb9885686193debf030eaba00a8cbf26a4fdce1cb433a3a0ccd9696d6" + |
- "4448141b0c5d9dfb32bdc29a271594d8e2bc0639daeec705b2cc12419876" + |
- "b702818100ecc964d844657b98dc6b3c6df58a4b5adff0cf5ac1a68679de" + |
- "2baccb4cda1b767f879e441769e5cc0065d8e573f9d728bbd4e25553ee8a" + |
- "2ba779eb219ad0a108daea34e7054d1767e644bdb63880234ac8143a9dda" + |
- "28d3f9196508088e2722ab86a3aa10e599b3caf226e69bee90a1ae7f289b" + |
- "945a34a4fed5e34f9d216b284d028180150ba27afda4174523347a5d459c" + |
- "5309793620396feac8037bb6ba295e52e565345520d25cb2896dc3f86ef6" + |
- "4df296c18f0f44e103aa7d610f398b03a0c49c833a404a91563c3bb7d4b4" + |
- "878bd72d468c8dd614a895d30ac180cff952631dc7fa97e51fa2ae9da9d8" + |
- "3299399e8fa2e7da19dbbe95839a99ad23af56c6166dd38d02818005da64" + |
- "97c3f90e391519c180a65528cfb2416d9ebcb2b5184619a647d03a83fb45" + |
- "e3c051c692638fcb62b91dd2e4162177a327851c720510572f7854785337" + |
- "e7d4217df547f843dfd99d516333ba5724fe1521edccfabd62a6f20c64c9" + |
- "bec5e89f876428cec421e19e62bfc892f918460bf6a101e5c8ef5b2d4655" + |
- "2d792a00f102818100b7d0e59415405a3ce9503e95078078518d381f4273" + |
- "106d67863cfee642d2b82186d9932b7cd921bf1867257473ccd2058d9c88" + |
- "a223701701aa8370b90878df96a6950e3b3ed52326a5cabbf376c97aa644" + |
- "c50fafe38f7496fb9e69efdd138b3525d8b7ac162bd75fe84cb4ce7066d6" + |
- "b786e80c42d5e63059ae939c7bcfa497ed" |
- }, |
- jwkRSAPublicKeyJSON : { |
- kty: "RSA", |
- alg: "RS1", |
- n: "rcCUCv7Oc1HVam1DIhCzqknThWawOp8QLk8Ziy2p10ByjQFCajoFiyuAWl-R1WXZaf4xitLRracT9agpzIzc-MbLSHIGgWQGO21lGiImy5ftZ-D8bHAqRz2y15pzD4c4CEou7XSSLDoRnR0QG5MsDhD6s2gV9mwHkrtkCxtMWdBi-77as8wGmlNRldcOSgZDLK8UnCSgA1OguZ989bFyc8tOOEIb0xUSfPSz3LPSCnyYz68aDjmKVeNH-ig857OScyWbGyEy3Biw64qun3juUlNWsJ3zngkOdteYWytx5Qr4XKNs6R-Myyq72KUp02mJDZiiyiglxML_i3-_CeecCw", |
- e: "AQAB" |
- }, |
- |
- jwkRSAPrivateKeyJSON : { |
- kty: "RSA", |
- alg: "RS1", |
- n: "rcCUCv7Oc1HVam1DIhCzqknThWawOp8QLk8Ziy2p10ByjQFCajoFiyuAWl-R1WXZaf4xitLRracT9agpzIzc-MbLSHIGgWQGO21lGiImy5ftZ-D8bHAqRz2y15pzD4c4CEou7XSSLDoRnR0QG5MsDhD6s2gV9mwHkrtkCxtMWdBi-77as8wGmlNRldcOSgZDLK8UnCSgA1OguZ989bFyc8tOOEIb0xUSfPSz3LPSCnyYz68aDjmKVeNH-ig857OScyWbGyEy3Biw64qun3juUlNWsJ3zngkOdteYWytx5Qr4XKNs6R-Myyq72KUp02mJDZiiyiglxML_i3-_CeecCw", |
- e: "AQAB", |
- d: "eNLS37aCz7RXSNPD_DtLBJ6j5T8cSxdzRBCjPaI6WcGqJp16lq3UTwuoDLAqlA9oGYm238dsIWpuucP_lQtbWe-7SpxoI6_vmYGf7YVUHv1-DF9qiOmSrMmdxMnVOzYXY8RaT6thPjn_J5cfLV2xI_LwsrMtmpdSyNlgX0zTUhwtuahgAKMEChYjH2EnjHdHw6sY2-wApdcQI7ULE0oo5RzbQZpmuhcN9hiBc0L3hhF0qo50mbl02_65_GQ7DpVkXBxNgRBLzlPabmzzG2oAhfefLgYmSC1opaCkXE6vRWQNWNL45RZNZFYM3uoJghOMqGeocM0BpjdChHrPOlFvSQ", |
- p: "4miTuAjKMeH5uJ5KB397QUwhbkYEgSbcA2mifmSkvE2018gb55qkBHK1eVryf1_m43LNlc6O_ak6gfzdZIZvS5NCGjPl0q09plUpu8qFOSspBwA67qGH76lFlZLn_d4yglS7wfLru4_5Ys8qLLs-DqVLviwposOnyyWqwM5AXp0", |
- q: "xHYrzkivtmnz_sGchnWGc0q-pDOkKicptRpv2pMFIIXxnFX5aMeEXIZjVujXtwUy1UlFIN2GZJSvy5KJ79mu_XyNnFHMzedH-A3ee3u8h1UUrZF-vUu1_e4U_x67NN1dedzUSKynN7pFl3OkuShMBWGV-cwzOPdcVAfVuZlxUMc", |
- dp: "fBzDzYDUBmBQGop7Hn0dvf_T27V6RqpctWo074CQZcFbP2atFVtKSj3viWT3xid2VHzcgiDHdfpM3nEVlEO1wwIonGCSvdjGEOZiiFVOjrZAOVxA8guOjyyFvqbXke06VwPIIVvfKeSU2zuhbP__1tt6F_fxow4Kb2xonGT0GGk", |
- dq: "jmE2DiIPdhwDgLXAQpIaBqQ81bO3XfVT_LRULAwwwwlPuQV148H04zlh9TJ6Y2GZHYokV1U0eOBpJxfkb7dLYtpJpuiBjRf4yIUEoGlkkI_QlJnFSFr-YjGRdfNHqWBkxlSMZL770R9mIATndGkH7z5x-r9KwBZFC4FCG2hg_zE", |
- qi: "YCX_pLwbMBA1ThVH0WcwmnytqNcrMCEwTm7ByA2eU6nWbQrULvf7m9_kzfLUcjsnpAVlBQG5JMXMy0Sq4ptwbywsa5-G8KAOOOR2L3v4hC-Eys9ftgFM_3i0o40eeQH4b3haPbntrIeMg8IzlOuVYKf9-2QuKDoWeRdd7NsdxTk" |
- }, |
- |
-}; |