blob: 47b552fc4978b9b5e9fe41373383a81998d9fd31 [file] [log] [blame]
// 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 preload list for net_unittests. Use or add entries in this
// file when you need to write a test that has expectations that depend on
// static transport security state. Tests should never depend on the real
// preload list. The format of this file is identical to
// transport_security_state_static.json.
{
"pinsets": [
{
"name": "withoutRejectedPins",
"static_spki_hashes": [
"TestSPKI1",
"GoodPin1"
]
}, {
"name": "withRejectedPins",
"static_spki_hashes": [
"GoodPin1"
],
"bad_static_spki_hashes": [
"TestSPKI1"
]
}, {
"name": "withReportUri",
"static_spki_hashes": [
"GoodPin1"
],
"report_uri": "http://report-uri.preloaded.test/pkp"
}
],
"entries": [
{ "name": "hsts-preloaded.test", "policy": "test", "mode": "force-https" },
{ "name": "include-subdomains-hsts-preloaded.test", "policy": "test", "mode": "force-https", "include_subdomains": true },
{ "name": "no-rejected-pins-pkp.preloaded.test", "policy": "test", "pins": "withoutRejectedPins" },
{ "name": "with-report-uri-pkp.preloaded.test", "policy": "test", "pins": "withReportUri" },
{ "name": "hsts-hpkp-preloaded.test", "policy": "test", "mode": "force-https", "pins": "withoutRejectedPins" },
{ "name": "expect-ct.preloaded.test", "policy": "test", "expect_ct": true, "expect_ct_report_uri": "http://report-uri.preloaded.test/expect-ct" }
]
}