| // Copyright 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // This is a HSTS preloaded list used by the unittests. For more information |
| // on the content and format see the comments in |
| // transport_security_state_static.json. |
| |
| { |
| "pinsets": [ |
| { |
| "name": "test1", |
| "static_spki_hashes": [ |
| "TestSPKI1" |
| ], |
| "report_uri": "https://report.example.com/hpkp-upload" |
| }, { |
| "name": "test2", |
| "static_spki_hashes": [ |
| "TestSPKI2" |
| ], |
| "bad_static_spki_hashes": [ |
| "TestSPKI1" |
| ] |
| } |
| ], |
| "entries": [ |
| { |
| "name": "hsts.example.com", |
| "policy": "test", |
| "mode": "force-https" |
| }, { |
| "name": "hpkp.example.com", |
| "policy": "test", |
| "include_subdomains_for_pinning": true, |
| "pins": "test1" |
| }, { |
| "name": "expect-ct.example.com", |
| "policy": "test", |
| "expect_ct": true, |
| "expect_ct_report_uri": "https://report.example.com/ct-upload" |
| }, { |
| "name": "mix.example.com", |
| "policy": "test", |
| "mode": "force-https", |
| "include_subdomains": false, |
| "pins": "test2", |
| "include_subdomains_for_pinning": true, |
| "expect_ct": true, |
| "expect_ct_report_uri": "https://report.example.com/ct-upload-alt" |
| } |
| ] |
| } |