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

Side by Side Diff: LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-expected.txt

Issue 806913006: [WebCrypto] Move LayoutTests from crypto to crypto/subtle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update path for deserialize legacy tests 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
OLDNEW
(Empty)
1 Test importing an RSA key for RSASSA-PKCS1-v1_5.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Importing a public key...
7 PASS publicKey.toString() is '[object CryptoKey]'
8 PASS publicKey.type is 'public'
9 PASS publicKey.usages is ['verify']
10 PASS publicKey.algorithm.name is 'RSASSA-PKCS1-v1_5'
11 PASS publicKey.algorithm.modulusLength is 2048
12 PASS bytesToHexString(publicKey.algorithm.publicExponent) is '010001'
13 PASS publicKey.algorithm.hash.name is 'SHA-256'
14
15 Importing a private key...
16 PASS privateKey.toString() is '[object CryptoKey]'
17 PASS privateKey.type is 'private'
18 PASS privateKey.usages is ['sign']
19 PASS privateKey.algorithm.name is 'RSASSA-PKCS1-v1_5'
20 PASS privateKey.algorithm.modulusLength is 2048
21 PASS bytesToHexString(privateKey.algorithm.publicExponent) is '010001'
22 PASS privateKey.algorithm.hash.name is 'SHA-256'
23 PASS successfullyParsed is true
24
25 TEST COMPLETE
26
OLDNEW
« no previous file with comments | « LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk.html ('k') | LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-small-key.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698