transport_security_state_static_unittest2.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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": "hsts.example.com",
  28. "policy": "test",
  29. "mode": "force-https"
  30. }, {
  31. "name": "hpkp.example.com",
  32. "policy": "test",
  33. "include_subdomains_for_pinning": true,
  34. "pins": "test1"
  35. }, {
  36. "name": "expect-ct.example.com",
  37. "policy": "test",
  38. "expect_ct": true,
  39. "expect_ct_report_uri": "https://report.example.com/ct-upload"
  40. }, {
  41. "name": "mix.example.com",
  42. "policy": "test",
  43. "mode": "force-https",
  44. "include_subdomains": false,
  45. "pins": "test2",
  46. "include_subdomains_for_pinning": true,
  47. "expect_ct": true,
  48. "expect_ct_report_uri": "https://report.example.com/ct-upload-alt"
  49. }
  50. ]
  51. }