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

Side by Side Diff: LayoutTests/crypto/ecdh-import-jwk-expected.txt

Issue 754563003: Add LayoutTests for WebCrypto's ECDH algorithm. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 6 years 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/ecdh-import-jwk.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test importing an EC public and private key for ECDSA. 1 Test importing an EC public and private key for ECDH.
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 Importing a public key... 6 Importing a public key...
7 PASS publicKey.toString() is '[object CryptoKey]' 7 PASS publicKey.toString() is '[object CryptoKey]'
8 PASS publicKey.type is 'public' 8 PASS publicKey.type is 'public'
9 PASS publicKey.usages is ['verify'] 9 PASS publicKey.usages is []
10 PASS publicKey.algorithm.name is 'ECDSA' 10 PASS publicKey.algorithm.name is 'ECDH'
11 PASS publicKey.algorithm.namedCurve is 'P-256' 11 PASS publicKey.algorithm.namedCurve is 'P-256'
12 12
13 Importing a private key... 13 Importing a private key...
14 PASS privateKey.toString() is '[object CryptoKey]' 14 PASS privateKey.toString() is '[object CryptoKey]'
15 PASS privateKey.type is 'private' 15 PASS privateKey.type is 'private'
16 PASS privateKey.usages is ['sign'] 16 PASS privateKey.usages is ['deriveBits']
17 PASS privateKey.algorithm.name is 'ECDSA' 17 PASS privateKey.algorithm.name is 'ECDH'
18 PASS privateKey.algorithm.namedCurve is 'P-384' 18 PASS privateKey.algorithm.namedCurve is 'P-384'
19 PASS successfullyParsed is true 19 PASS successfullyParsed is true
20 20
21 TEST COMPLETE 21 TEST COMPLETE
22 22
OLDNEW
« no previous file with comments | « LayoutTests/crypto/ecdh-import-jwk.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698