summaryrefslogtreecommitdiff
path: root/chromium/net/http/transport_security_state_static_unittest2.json
blob: f07c9e88d494b1a97901ca3fbe7ccf6a91ab3aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright 2017 The Chromium Authors
// 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"
    }
  ]
}