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

Side by Side Diff: LayoutTests/crypto/clone-rsaKey-public-expected.txt

Issue 210693002: [webcrypto] Add structured clone tests for RSA private keys. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/clone-rsaKey-public.html ('k') | LayoutTests/crypto/resources/keys.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests structured cloning of RSA keys (without a hash) 1 Tests structured cloning of RSA public keys (without 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 "RSAES-PKCS1-v1_5" 10 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
11 PASS importedKey.algorithm.modulusLength is 1024 11 PASS importedKey.algorithm.modulusLength is 1024
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 PASS clonedKey.algorithm.modulusLength is 2048 344 PASS clonedKey.algorithm.modulusLength is 2048
345 PASS: clonedKey.algorithm.publicExponent should be [010001] and was 345 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
346 PASS clonedKey.algorithm.hash is undefined. 346 PASS clonedKey.algorithm.hash is undefined.
347 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 347 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
348 Serialized key bytes: ff053f004b030401801003010001c201a60230820122300d06092a8648 86f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca8 78981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967 062ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec05 0a48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388 b95d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e0 01cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d 62785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203 010001 348 Serialized key bytes: ff053f004b030401801003010001c201a60230820122300d06092a8648 86f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca8 78981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967 062ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec05 0a48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388 b95d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e0 01cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d 62785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203 010001
349 349
350 PASS successfullyParsed is true 350 PASS successfullyParsed is true
351 351
352 TEST COMPLETE 352 TEST COMPLETE
353 353
OLDNEW
« no previous file with comments | « LayoutTests/crypto/clone-rsaKey-public.html ('k') | LayoutTests/crypto/resources/keys.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698