summaryrefslogtreecommitdiff
path: root/chromium/net/http/transport_security_state_static_unittest3.json
blob: fe69b5e2a25c89a16388df9f738b7279c69e71c4 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
// 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": "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
    }
  ]
}