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

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

Issue 957713004: [WebCrypto] Split LayoutTests/crypto/subtle into per-algorithm directories (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master Created 5 years, 10 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
OLDNEW
1 Test importing an RSA key for RSASSA-PKCS1-v1_5. 1 Test importing an RSA key for RSASSA-PKCS1-v1_5.
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 ['verify']
10 PASS publicKey.algorithm.name is 'RSASSA-PKCS1-v1_5' 10 PASS publicKey.algorithm.name is 'RSASSA-PKCS1-v1_5'
11 PASS publicKey.algorithm.modulusLength is 2048 11 PASS publicKey.algorithm.modulusLength is 2048
12 PASS bytesToHexString(publicKey.algorithm.publicExponent) is '010001' 12 PASS bytesToHexString(publicKey.algorithm.publicExponent) is '010001'
13 PASS publicKey.algorithm.hash.name is 'SHA-256' 13 PASS publicKey.algorithm.hash.name is 'SHA-256'
14 14
15 Importing a private key... 15 Importing a private key...
16 PASS privateKey.toString() is '[object CryptoKey]' 16 PASS privateKey.toString() is '[object CryptoKey]'
17 PASS privateKey.type is 'private' 17 PASS privateKey.type is 'private'
18 PASS privateKey.usages is ['sign'] 18 PASS privateKey.usages is ['sign']
19 PASS privateKey.algorithm.name is 'RSASSA-PKCS1-v1_5' 19 PASS privateKey.algorithm.name is 'RSASSA-PKCS1-v1_5'
20 PASS privateKey.algorithm.modulusLength is 2048 20 PASS privateKey.algorithm.modulusLength is 2048
21 PASS bytesToHexString(privateKey.algorithm.publicExponent) is '010001' 21 PASS bytesToHexString(privateKey.algorithm.publicExponent) is '010001'
22 PASS privateKey.algorithm.hash.name is 'SHA-256' 22 PASS privateKey.algorithm.hash.name is 'SHA-256'
23 PASS successfullyParsed is true 23 PASS successfullyParsed is true
24 24
25 TEST COMPLETE 25 TEST COMPLETE
26 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698