Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: net/http/transport_security_state_static.h

Issue 1267383002: Allow preloaded pins to contain report URIs; remove special-case reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase fixup Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/http/transport_security_state.cc ('k') | net/http/transport_security_state_static.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is automatically generated by transport_security_state_static_gener ate.go. 5 // This file is automatically generated by transport_security_state_static_gener ate.go.
6 // You can find it at https://github.com/agl/transport-security-state-generate. 6 // You can find it at https://github.com/agl/transport-security-state-generate.
7 7
8 #ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ 8 #ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_
9 #define NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ 9 #define NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_
10 10
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 static const char* const kTestAcceptableCerts[] = { 544 static const char* const kTestAcceptableCerts[] = {
545 kSPKIHash_TestSPKI, 545 kSPKIHash_TestSPKI,
546 NULL, 546 NULL,
547 }; 547 };
548 static const char* const kGoogleAcceptableCerts[] = { 548 static const char* const kGoogleAcceptableCerts[] = {
549 kSPKIHash_GoogleBackup2048, 549 kSPKIHash_GoogleBackup2048,
550 kSPKIHash_GoogleG2, 550 kSPKIHash_GoogleG2,
551 kSPKIHash_GeoTrustGlobal, 551 kSPKIHash_GeoTrustGlobal,
552 NULL, 552 NULL,
553 }; 553 };
554 static const char kGoogleReportURI[] = "http://clients3.google.com/cert_upload_j son";
554 static const char* const kTorAcceptableCerts[] = { 555 static const char* const kTorAcceptableCerts[] = {
555 kSPKIHash_RapidSSL, 556 kSPKIHash_RapidSSL,
556 kSPKIHash_DigiCertEVRoot, 557 kSPKIHash_DigiCertEVRoot,
557 kSPKIHash_Tor1, 558 kSPKIHash_Tor1,
558 kSPKIHash_Tor2, 559 kSPKIHash_Tor2,
559 kSPKIHash_Tor3, 560 kSPKIHash_Tor3,
560 NULL, 561 NULL,
561 }; 562 };
562 static const char* const kTwitterComAcceptableCerts[] = { 563 static const char* const kTwitterComAcceptableCerts[] = {
563 kSPKIHash_VeriSignClass1, 564 kSPKIHash_VeriSignClass1,
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 }; 668 };
668 669
669 struct Pinset { 670 struct Pinset {
670 const char *const *const accepted_pins; 671 const char *const *const accepted_pins;
671 const char *const *const rejected_pins; 672 const char *const *const rejected_pins;
672 const char *const report_uri; 673 const char *const report_uri;
673 }; 674 };
674 675
675 static const struct Pinset kPinsets[] = { 676 static const struct Pinset kPinsets[] = {
676 {kTestAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 677 {kTestAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
677 {kGoogleAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 678 {kGoogleAcceptableCerts, kNoRejectedPublicKeys, kGoogleReportURI},
678 {kTorAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 679 {kTorAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
679 {kTwitterComAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 680 {kTwitterComAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
680 {kTwitterCDNAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 681 {kTwitterCDNAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
681 {kDropboxAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 682 {kDropboxAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
682 {kFacebookAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 683 {kFacebookAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
683 {kSpideroakAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 684 {kSpideroakAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
684 }; 685 };
685 686
686 // kHSTSHuffmanTree describes a Huffman tree. The nodes of the tree are pairs 687 // kHSTSHuffmanTree describes a Huffman tree. The nodes of the tree are pairs
687 // of uint8s. The last node in the array is the root of the tree. Each pair is 688 // of uint8s. The last node in the array is the root of the tree. Each pair is
(...skipping 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after
3135 0x43, 0x4e, 0xd2, 0xd5, 0x68, 0x0b, 0xeb, 0xc9, 0x3f, 0x0d, 0xaa, 0xbd, 3136 0x43, 0x4e, 0xd2, 0xd5, 0x68, 0x0b, 0xeb, 0xc9, 0x3f, 0x0d, 0xaa, 0xbd,
3136 0xd9, 0x4a, 0xc8, 0x62, 0x5f, 0xe6, 0xdc, 0xb8, 0x4f, 0xb4, 0x82, 0x8d, 3137 0xd9, 0x4a, 0xc8, 0x62, 0x5f, 0xe6, 0xdc, 0xb8, 0x4f, 0xb4, 0x82, 0x8d,
3137 0xaa, 0xda, 0xaa, 0x80, 3138 0xaa, 0xda, 0xaa, 0x80,
3138 }; 3139 };
3139 3140
3140 static const unsigned kPreloadedHSTSBits = 233785; 3141 static const unsigned kPreloadedHSTSBits = 233785;
3141 3142
3142 static const unsigned kHSTSRootPosition = 233177; 3143 static const unsigned kHSTSRootPosition = 233177;
3143 3144
3144 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ 3145 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_
OLDNEW
« no previous file with comments | « net/http/transport_security_state.cc ('k') | net/http/transport_security_state_static.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698