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

Side by Side Diff: net/http/transport_security_state_static_unittest2.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": "hsts.example.com",
30 "mode": "force-https"
31 }, {
32 "name": "hpkp.example.com",
33 "include_subdomains_for_pinning": true,
34 "pins": "test1"
35 }, {
36 "name": "expect-ct.example.com",
37 "expect_ct": true,
38 "expect_ct_report_uri": "https://report.example.com/ct-upload"
39 }, {
40 "name": "expect-staple.example.com",
41 "expect_staple": true,
42 "expect_staple_report_uri": "https://report.example.com/staple-upload",
43 "include_subdomains_for_expect_staple": false
44 }, {
45 "name": "mix.example.com",
46 "mode": "force-https",
47 "include_subdomains": false,
48 "pins": "test2",
49 "include_subdomains_for_pinning": true,
50 "expect_ct": true,
51 "expect_ct_report_uri": "https://report.example.com/ct-upload-alt",
52 "expect_staple": true,
53 "expect_staple_report_uri": "https://report.example.com/staple-upload-alt" ,
54 "include_subdomains_for_expect_staple": true
55 }
56 ],
57 "domain_ids": [
58 "NOT_PINNED",
59 "EXAMPLE_COM"
60 ]
61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698