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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt

Issue 2828563002: RTCCertificate.getFingerprints added (exposed to the web) (Closed)
Patch Set: Rebase Created 3 years, 6 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 Tests RTCPeerConnection.generateCertificate RSA/ECDSA. 1 Tests RTCPeerConnection.generateCertificate RSA/ECDSA.
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 PASS generateCertificate({ name: "RSASSA-PKCS1-v1_5", modulusLength: 2048, publi cExponent: new Uint8Array([1, 0, 1]), hash: "SHA-256" }) 6 PASS generateCertificate({ name: "RSASSA-PKCS1-v1_5", modulusLength: 2048, publi cExponent: new Uint8Array([1, 0, 1]), hash: "SHA-256" })
7 PASS certRSA is non-null. 7 PASS certRSA is non-null.
8 PASS new Date().getTime() < certRSA.expires is true 8 PASS new Date().getTime() < certRSA.expires is true
9 PASS certRSA.getFingerprints().length == 1 is true
10 PASS certRSA.getFingerprints()[0].algorithm === "sha-256" is true
11 PASS isFingerprintValue(certRSA.getFingerprints()[0].value) is true
12 PASS certRSA.getFingerprints()[0] != certRSA.getFingerprints()[0] is true
9 PASS generateCertificate({ name: "ECDSA", namedCurve: "P-256" }) 13 PASS generateCertificate({ name: "ECDSA", namedCurve: "P-256" })
10 PASS certECDSA is non-null. 14 PASS certECDSA is non-null.
11 PASS new Date().getTime() < certECDSA.expires is true 15 PASS new Date().getTime() < certECDSA.expires is true
16 PASS certECDSA.getFingerprints().length == 1 is true
17 PASS certECDSA.getFingerprints()[0].algorithm === "sha-256" is true
18 PASS isFingerprintValue(certECDSA.getFingerprints()[0].value) is true
19 PASS certECDSA.getFingerprints()[0] != certECDSA.getFingerprints()[0] is true
12 PASS certExpiresNegativeOneDay is non-null. 20 PASS certExpiresNegativeOneDay is non-null.
13 PASS new Date().getTime() < certExpiresNegativeOneDay.expires is true 21 PASS new Date().getTime() < certExpiresNegativeOneDay.expires is true
22 PASS certExpiresNegativeOneDay.getFingerprints().length == 1 is true
23 PASS certExpiresNegativeOneDay.getFingerprints()[0].algorithm === "sha-256" is t rue
24 PASS isFingerprintValue(certExpiresNegativeOneDay.getFingerprints()[0].value) is true
25 PASS certExpiresNegativeOneDay.getFingerprints()[0] != certExpiresNegativeOneDay .getFingerprints()[0] is true
14 PASS certExpiresZero is non-null. 26 PASS certExpiresZero is non-null.
15 PASS new Date().getTime() >= certExpiresZero.expires is true 27 PASS new Date().getTime() >= certExpiresZero.expires is true
16 PASS certExpiresPositiveOneDay is non-null. 28 PASS certExpiresPositiveOneDay is non-null.
17 PASS Math.abs(certExpiresPositiveOneDay.expires - (new Date().getTime() + dayInM s)) <= minuteInMs is true 29 PASS Math.abs(certExpiresPositiveOneDay.expires - (new Date().getTime() + dayInM s)) <= minuteInMs is true
18 PASS successfullyParsed is true 30 PASS successfullyParsed is true
19 31
20 TEST COMPLETE 32 TEST COMPLETE
21 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698