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

Side by Side Diff: third_party/WebKit/LayoutTests/crypto/subtle/ecdh/import-export-raw-expected.txt

Issue 2162303002: [webcrypto] Add support for import/export of "raw" formatted EC keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usage_order
Patch Set: address feedback Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/crypto/subtle/ecdh/import-export-raw.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
(Empty)
1 Test importing and exporting an EC public key in raw format.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Importing raw (uncompressed) public key...
7 PASS publicKey.toString() is '[object CryptoKey]'
8 PASS publicKey.type is 'public'
9 PASS publicKey.usages is []
10 PASS publicKey.algorithm.name is 'ECDH'
11 PASS publicKey.algorithm.namedCurve is 'P-256'
12 Exporting to raw...
13 PASS: Exported to raw should be [044ea34391aa73885454bc45df3fdcc4a70262fa4621ffe 25b5790590c340a4bd9265ef2b3f9a86e2959a960d90323465d60cd4a90d314c5de3f869ad0d4bf6 c10] and was
14 Importing raw (compressed) public key...
15 PASS publicKey.toString() is '[object CryptoKey]'
16 PASS publicKey.type is 'public'
17 PASS publicKey.usages is []
18 PASS publicKey.algorithm.name is 'ECDH'
19 PASS publicKey.algorithm.namedCurve is 'P-256'
20 Exporting to raw...
21 PASS: Exported to raw should be [044ea34391aa73885454bc45df3fdcc4a70262fa4621ffe 25b5790590c340a4bd9265ef2b3f9a86e2959a960d90323465d60cd4a90d314c5de3f869ad0d4bf6 c10] and was
22 Importing invalid raw public key...
23 error is: DataError:
24 PASS successfullyParsed is true
25
26 TEST COMPLETE
27
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/crypto/subtle/ecdh/import-export-raw.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698