| // 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": "example.com", |
| "policy": "test", |
| "mode": "force-https", |
| "include_subdomains": true |
| }, { |
| "name": "hpkp.example.com", |
| "policy": "test", |
| "include_subdomains_for_pinning": true, |
| "pins": "test1" |
| }, { |
| "name": "example.org", |
| "policy": "test", |
| "mode": "force-https", |
| "expect_ct": true, |
| "expect_ct_report_uri": "https://report.example.org/ct-upload" |
| }, { |
| "name": "badssl.com", |
| "policy": "test", |
| "include_subdomains": true, |
| "pins": "test1" |
| }, { |
| "name": "mix.badssl.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" |
| }, { |
| // Keep this a simple entry in the context of TrieWriter::IsSimpleEntry(). |
| "name": "simple-entry.example.com", |
| "policy": "test", |
| "mode": "force-https", |
| "include_subdomains": true |
| } |
| ] |
| } |