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

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

Issue 268273002: [webcrypto] Make KeyPair structured clonable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: change up comment once more Created 6 years, 7 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-rsaKeyPair.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests structured cloning of a generated RSA KeyPair.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS generatedKeyPair.publicKey.type is "public"
7 PASS typeof generatedKeyPair.publicKey.extractable is 'boolean'
8 PASS generatedKeyPair.publicKey.extractable is true
9 PASS generatedKeyPair.publicKey.algorithm.name is "RSAES-PKCS1-v1_5"
10 PASS generatedKeyPair.publicKey.algorithm.modulusLength is 256
11 PASS bytesToHexString(generatedKeyPair.publicKey.algorithm.publicExponent) is "0 10001"
12 PASS generatedKeyPair.privateKey.type is "private"
13 PASS typeof generatedKeyPair.privateKey.extractable is 'boolean'
14 PASS generatedKeyPair.privateKey.extractable is true
15 PASS generatedKeyPair.privateKey.algorithm.name is "RSAES-PKCS1-v1_5"
16 PASS generatedKeyPair.privateKey.algorithm.modulusLength is 256
17 PASS bytesToHexString(generatedKeyPair.privateKey.algorithm.publicExponent) is " 010001"
18 PASS clonedKeyPair.publicKey.type is "public"
19 PASS typeof clonedKeyPair.publicKey.extractable is 'boolean'
20 PASS clonedKeyPair.publicKey.extractable is true
21 PASS clonedKeyPair.publicKey.algorithm.name is "RSAES-PKCS1-v1_5"
22 PASS clonedKeyPair.publicKey.algorithm.modulusLength is 256
23 PASS bytesToHexString(clonedKeyPair.publicKey.algorithm.publicExponent) is "0100 01"
24 PASS clonedKeyPair.privateKey.type is "private"
25 PASS typeof clonedKeyPair.privateKey.extractable is 'boolean'
26 PASS clonedKeyPair.privateKey.extractable is true
27 PASS clonedKeyPair.privateKey.algorithm.name is "RSAES-PKCS1-v1_5"
28 PASS clonedKeyPair.privateKey.algorithm.modulusLength is 256
29 PASS bytesToHexString(clonedKeyPair.privateKey.algorithm.publicExponent) is "010 001"
30 PASS generatedKeyPair is not clonedKeyPair
31 PASS clonedKeyPair.extraProperty is undefined.
32 PASS generatedKeyPairData.spkiHex is clonedKeyPairData.spkiHex
33 PASS generatedKeyPairData.pkcs8Hex is clonedKeyPairData.pkcs8Hex
34 PASS successfullyParsed is true
35
36 TEST COMPLETE
37
OLDNEW
« no previous file with comments | « LayoutTests/crypto/clone-rsaKeyPair.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698