OLD | NEW |
1 Tests structured cloning of RSA keys (with a hash) | 1 Tests structured cloning of RSA public keys (with a hash) |
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 PASS importedKey.extraProperty is "hi" | 6 PASS importedKey.extraProperty is "hi" |
7 PASS importedKey.type is "public" | 7 PASS importedKey.type is "public" |
8 PASS typeof importedKey.extractable is 'boolean' | 8 PASS typeof importedKey.extractable is 'boolean' |
9 PASS importedKey.extractable is true | 9 PASS importedKey.extractable is true |
10 PASS importedKey.algorithm.name is "RSASSA-PKCS1-v1_5" | 10 PASS importedKey.algorithm.name is "RSASSA-PKCS1-v1_5" |
11 PASS importedKey.algorithm.modulusLength is 1024 | 11 PASS importedKey.algorithm.modulusLength is 1024 |
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1032 PASS clonedKey.algorithm.modulusLength is 2048 | 1032 PASS clonedKey.algorithm.modulusLength is 2048 |
1033 PASS: clonedKey.algorithm.publicExponent should be [010001] and was | 1033 PASS: clonedKey.algorithm.publicExponent should be [010001] and was |
1034 PASS clonedKey.algorithm.hash.name is "SHA-512" | 1034 PASS clonedKey.algorithm.hash.name is "SHA-512" |
1035 PASS clonedKey.usages.join(',') is "sign,verify" | 1035 PASS clonedKey.usages.join(',') is "sign,verify" |
1036 Serialized key bytes: ff053f004b0403018010030100010818a60230820122300d06092a8648
86f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca8
78981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967
062ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec05
0a48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388
b95d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e0
01cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d
62785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203
010001 | 1036 Serialized key bytes: ff053f004b0403018010030100010818a60230820122300d06092a8648
86f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca8
78981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967
062ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec05
0a48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388
b95d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e0
01cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d
62785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203
010001 |
1037 | 1037 |
1038 PASS successfullyParsed is true | 1038 PASS successfullyParsed is true |
1039 | 1039 |
1040 TEST COMPLETE | 1040 TEST COMPLETE |
1041 | 1041 |
OLD | NEW |