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

Side by Side Diff: LayoutTests/crypto/ec-export-private-key-expected.txt

Issue 707753002: WebCrypto: Add LayoutTests for ECDSA. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 6 years, 1 month 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
OLDNEW
(Empty)
1 Test exporting a private RSA key.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 Importing a PKCS8 key...
8
9 Exporting the key as JWK...
10 PASS exportedJWK.kty is "EC"
11 PASS exportedJWK.crv is "P-384"
12 PASS exportedJWK.d is "pJLOj6kAhMIn4aMveXTTnp_2en6HBew0GbNftgdYK-vUYeCxUgrHbsLdT ptj665x"
13 PASS exportedJWK.x is "5V_ubEnY1SP1znv5wEJc5P9lBwi33lz7CVkBUjl5p_BCYC2zCFRzU2mBO 1w_Xvho"
14 PASS exportedJWK.y is "KPWcxdxQmJKpiNOKjiUZ3j0MT9D72wmT448YUGwXYGxeJCSSRvHOlJg6U 2HFvpg-"
15 PASS exportedJWK.alg is undefined
16 PASS exportedJWK.ext is true
17 PASS exportedJWK.key_ops is ['sign']
18 PASS exportedJWK.use is undefined
19
20 Exporting the key as PKCS8...
21 PASS: exportedPkcs8 should be [3081b6020100301006072a8648ce3d020106052b810400220 4819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec3419b35fb6075 82bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce7bf9c0425ce 4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f59cc5dc50989 2a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a5361c5be983 e] and was
22 PASS successfullyParsed is true
23
24 TEST COMPLETE
25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698