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

Side by Side Diff: net/http/transport_security_state_static_unittest3.json

Issue 2660793002: Add transport security state generator tests. (Closed)
Patch Set: export method for tests Created 3 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
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This is a HSTS preloaded list used by the unittests. For more information
6 // on the content and format see the comments in
7 // transport_security_state_static.json.
8
9 {
10 "pinsets": [
11 {
12 "name": "test1",
13 "static_spki_hashes": [
14 "TestSPKI1"
15 ],
16 "report_uri": "https://report.example.com/hpkp-upload"
17 }, {
18 "name": "test2",
19 "static_spki_hashes": [
20 "TestSPKI2"
21 ],
22 "bad_static_spki_hashes": [
23 "TestSPKI1"
24 ]
25 }
26 ],
27 "entries": [
28 {
29 "name": "example.com",
30 "mode": "force-https",
31 "include_subdomains": true,
32 "expect_staple": true,
33 "expect_staple_report_uri": "https://report.example.com/staple-upload"
34 }, {
35 "name": "hpkp.example.com",
36 "include_subdomains_for_pinning": true,
37 "pins": "test1"
38 }, {
39 "name": "example.org",
40 "mode": "force-https",
41 "expect_ct": true,
42 "expect_ct_report_uri": "https://report.example.org/ct-upload"
43 }, {
44 "name": "badssl.com",
45 "include_subdomains": true,
46 "pins": "test1",
47 "expect_staple": true,
48 "expect_staple_report_uri": "https://report.badssl.com/staple-upload",
49 "include_subdomains_for_expect_staple": true
50 }, {
51 "name": "mix.badssl.com",
52 "mode": "force-https",
53 "include_subdomains": false,
54 "pins": "test2",
55 "include_subdomains_for_pinning": true,
56 "expect_ct": true,
57 "expect_ct_report_uri": "https://report.example.com/ct-upload",
58 "expect_staple": true,
59 "include_subdomains_for_expect_staple": true,
60 "expect_staple_report_uri": "https://report.badssl.com/staple-upload"
61 }
62 ],
63 "domain_ids": [
64 "NOT_PINNED",
65 "EXAMPLE_COM",
66 "EXAMPLE_ORG",
67 "BADSSL_COM"
68 ]
69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698