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

Side by Side Diff: LayoutTests/crypto/subtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-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
1 Test generating an RSA key pair for RSASSA-PKCS1-v1_5 when exponent has leading zeroes. 1 Test generating an RSA key pair for RSASSA-PKCS1-v1_5 when exponent has leading zeroes.
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 Generating a key pair... 6 Generating a key pair...
7 PASS keyPair.toString() is '[object Object]' 7 PASS keyPair.toString() is '[object Object]'
8 PASS keyPair.publicKey.type is 'public' 8 PASS keyPair.publicKey.type is 'public'
9 PASS keyPair.publicKey.algorithm.name is 'RSASSA-PKCS1-v1_5' 9 PASS keyPair.publicKey.algorithm.name is 'RSASSA-PKCS1-v1_5'
10 PASS keyPair.publicKey.algorithm.modulusLength is 512 10 PASS keyPair.publicKey.algorithm.modulusLength is 512
11 PASS bytesToHexString(keyPair.publicKey.algorithm.publicExponent) is '010001' 11 PASS bytesToHexString(keyPair.publicKey.algorithm.publicExponent) is '010001'
12 PASS bytesToHexString(keyPair.privateKey.algorithm.publicExponent) is '010001' 12 PASS bytesToHexString(keyPair.privateKey.algorithm.publicExponent) is '010001'
13 PASS keyPair.publicKey.usages is ["verify"] 13 PASS keyPair.publicKey.usages is ["verify"]
14 PASS keyPair.privateKey.type is 'private' 14 PASS keyPair.privateKey.type is 'private'
15 PASS keyPair.privateKey.algorithm.name is 'RSASSA-PKCS1-v1_5' 15 PASS keyPair.privateKey.algorithm.name is 'RSASSA-PKCS1-v1_5'
16 PASS keyPair.privateKey.algorithm.modulusLength is 512 16 PASS keyPair.privateKey.algorithm.modulusLength is 512
17 PASS keyPair.privateKey.usages is ["sign"] 17 PASS keyPair.privateKey.usages is ["sign"]
18 PASS successfullyParsed is true 18 PASS successfullyParsed is true
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698