transport_security_state_static_unittest3.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. // This is a HSTS preloaded list used by the unittests. For more information
  5. // on the content and format see the comments in
  6. // transport_security_state_static.json.
  7. {
  8. "pinsets": [
  9. {
  10. "name": "test1",
  11. "static_spki_hashes": [
  12. "TestSPKI1"
  13. ],
  14. "report_uri": "https://report.example.com/hpkp-upload"
  15. }, {
  16. "name": "test2",
  17. "static_spki_hashes": [
  18. "TestSPKI2"
  19. ],
  20. "bad_static_spki_hashes": [
  21. "TestSPKI1"
  22. ]
  23. }
  24. ],
  25. "entries": [
  26. {
  27. "name": "example.com",
  28. "policy": "test",
  29. "mode": "force-https",
  30. "include_subdomains": true
  31. }, {
  32. "name": "hpkp.example.com",
  33. "policy": "test",
  34. "include_subdomains_for_pinning": true,
  35. "pins": "test1"
  36. }, {
  37. "name": "example.org",
  38. "policy": "test",
  39. "mode": "force-https",
  40. "expect_ct": true,
  41. "expect_ct_report_uri": "https://report.example.org/ct-upload"
  42. }, {
  43. "name": "badssl.com",
  44. "policy": "test",
  45. "include_subdomains": true,
  46. "pins": "test1"
  47. }, {
  48. "name": "mix.badssl.com",
  49. "policy": "test",
  50. "mode": "force-https",
  51. "include_subdomains": false,
  52. "pins": "test2",
  53. "include_subdomains_for_pinning": true,
  54. "expect_ct": true,
  55. "expect_ct_report_uri": "https://report.example.com/ct-upload"
  56. }, {
  57. // Keep this a simple entry in the context of TrieWriter::IsSimpleEntry().
  58. "name": "simple-entry.example.com",
  59. "policy": "test",
  60. "mode": "force-https",
  61. "include_subdomains": true
  62. }
  63. ]
  64. }