| OLD | NEW |
| 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 | 6 |
| 7 #ifndef NET_BASE_TRANSPORT_SECURITY_STATE_STATIC_H_ | 7 #ifndef NET_BASE_TRANSPORT_SECURITY_STATE_STATIC_H_ |
| 8 #define NET_BASE_TRANSPORT_SECURITY_STATE_STATIC_H_ | 8 #define NET_BASE_TRANSPORT_SECURITY_STATE_STATIC_H_ |
| 9 | 9 |
| 10 // These are SubjectPublicKeyInfo hashes for public key pinning. The | 10 // These are SubjectPublicKeyInfo hashes for public key pinning. The |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 156 |
| 157 static const char kSPKIHash_GTECyberTrustGlobalRoot[] = | 157 static const char kSPKIHash_GTECyberTrustGlobalRoot[] = |
| 158 "sha1/WXkS3mF11m/EI7d3E3THlt5viHI="; | 158 "sha1/WXkS3mF11m/EI7d3E3THlt5viHI="; |
| 159 | 159 |
| 160 static const char kSPKIHash_Tor2web[] = | 160 static const char kSPKIHash_Tor2web[] = |
| 161 "sha1/GeW1hxvUgy7I9ZSX/sZe+0jjM7E="; | 161 "sha1/GeW1hxvUgy7I9ZSX/sZe+0jjM7E="; |
| 162 | 162 |
| 163 static const char kSPKIHash_AlphaSSL_G2[] = | 163 static const char kSPKIHash_AlphaSSL_G2[] = |
| 164 "sha1/5STpjjF9yPytkFN8kecNpHCTkF8="; | 164 "sha1/5STpjjF9yPytkFN8kecNpHCTkF8="; |
| 165 | 165 |
| 166 static const char kSPKIHash_CryptoCat1[] = |
| 167 "sha1/TIfOhSz0wE1nqeDsUQx/OxSz6ck="; |
| 168 |
| 166 // The following is static data describing the hosts that are hardcoded with | 169 // The following is static data describing the hosts that are hardcoded with |
| 167 // certificate pins or HSTS information. | 170 // certificate pins or HSTS information. |
| 168 | 171 |
| 169 // kNoRejectedPublicKeys is a placeholder for when no public keys are rejected. | 172 // kNoRejectedPublicKeys is a placeholder for when no public keys are rejected. |
| 170 static const char* const kNoRejectedPublicKeys[] = { | 173 static const char* const kNoRejectedPublicKeys[] = { |
| 171 NULL, | 174 NULL, |
| 172 }; | 175 }; |
| 173 | 176 |
| 174 static const char* const kTestAcceptableCerts[] = { | 177 static const char* const kTestAcceptableCerts[] = { |
| 175 kSPKIHash_TestSPKI, | 178 kSPKIHash_TestSPKI, |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 static const char* const kTor2webAcceptableCerts[] = { | 290 static const char* const kTor2webAcceptableCerts[] = { |
| 288 kSPKIHash_AlphaSSL_G2, | 291 kSPKIHash_AlphaSSL_G2, |
| 289 kSPKIHash_Tor2web, | 292 kSPKIHash_Tor2web, |
| 290 NULL, | 293 NULL, |
| 291 }; | 294 }; |
| 292 #define kTor2webPins { \ | 295 #define kTor2webPins { \ |
| 293 kTor2webAcceptableCerts, \ | 296 kTor2webAcceptableCerts, \ |
| 294 kNoRejectedPublicKeys, \ | 297 kNoRejectedPublicKeys, \ |
| 295 } | 298 } |
| 296 | 299 |
| 300 static const char* const kCryptoCatAcceptableCerts[] = { |
| 301 kSPKIHash_DigiCertEVRoot, |
| 302 kSPKIHash_CryptoCat1, |
| 303 NULL, |
| 304 }; |
| 305 #define kCryptoCatPins { \ |
| 306 kCryptoCatAcceptableCerts, \ |
| 307 kNoRejectedPublicKeys, \ |
| 308 } |
| 309 |
| 297 #define kNoPins {\ | 310 #define kNoPins {\ |
| 298 NULL, NULL, \ | 311 NULL, NULL, \ |
| 299 } | 312 } |
| 300 | 313 |
| 301 static const struct HSTSPreload kPreloadedSTS[] = { | 314 static const struct HSTSPreload kPreloadedSTS[] = { |
| 302 {25, true, "\013pinningtest\007appspot\003com", false, kTestPins, DOMAIN_APPSP
OT_COM }, | 315 {25, true, "\013pinningtest\007appspot\003com", false, kTestPins, DOMAIN_APPSP
OT_COM }, |
| 303 {12, true, "\006google\003com", false, kGooglePins, DOMAIN_GOOGLE_COM }, | 316 {12, true, "\006google\003com", false, kGooglePins, DOMAIN_GOOGLE_COM }, |
| 304 {19, true, "\006health\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM
}, | 317 {19, true, "\006health\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM
}, |
| 305 {21, true, "\010checkout\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_C
OM }, | 318 {21, true, "\010checkout\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_C
OM }, |
| 306 {19, true, "\006chrome\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM
}, | 319 {19, true, "\006chrome\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM
}, |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 {27, true, "\006luneta\016nearbuysystems\003com", true, kNoPins, DOMAIN_NOT_PI
NNED }, | 630 {27, true, "\006luneta\016nearbuysystems\003com", true, kNoPins, DOMAIN_NOT_PI
NNED }, |
| 618 {12, true, "\006ubertt\003org", true, kNoPins, DOMAIN_NOT_PINNED }, | 631 {12, true, "\006ubertt\003org", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 619 {9, true, "\004pixi\002me", true, kNoPins, DOMAIN_NOT_PINNED }, | 632 {9, true, "\004pixi\002me", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 620 {14, true, "\010grepular\003com", true, kNoPins, DOMAIN_NOT_PINNED }, | 633 {14, true, "\010grepular\003com", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 621 {16, false, "\012mydigipass\003com", true, kNoPins, DOMAIN_NOT_PINNED }, | 634 {16, false, "\012mydigipass\003com", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 622 {20, false, "\003www\012mydigipass\003com", true, kNoPins, DOMAIN_NOT_PINNED }
, | 635 {20, false, "\003www\012mydigipass\003com", true, kNoPins, DOMAIN_NOT_PINNED }
, |
| 623 {26, false, "\011developer\012mydigipass\003com", true, kNoPins, DOMAIN_NOT_PI
NNED }, | 636 {26, false, "\011developer\012mydigipass\003com", true, kNoPins, DOMAIN_NOT_PI
NNED }, |
| 624 {30, false, "\003www\011developer\012mydigipass\003com", true, kNoPins, DOMAIN
_NOT_PINNED }, | 637 {30, false, "\003www\011developer\012mydigipass\003com", true, kNoPins, DOMAIN
_NOT_PINNED }, |
| 625 {24, false, "\007sandbox\012mydigipass\003com", true, kNoPins, DOMAIN_NOT_PINN
ED }, | 638 {24, false, "\007sandbox\012mydigipass\003com", true, kNoPins, DOMAIN_NOT_PINN
ED }, |
| 626 {28, false, "\003www\007sandbox\012mydigipass\003com", true, kNoPins, DOMAIN_N
OT_PINNED }, | 639 {28, false, "\003www\007sandbox\012mydigipass\003com", true, kNoPins, DOMAIN_N
OT_PINNED }, |
| 627 {12, true, "\006crypto\003cat", true, kNoPins, DOMAIN_NOT_PINNED }, | 640 {12, true, "\006crypto\003cat", true, kCryptoCatPins, DOMAIN_CRYPTO_CAT }, |
| 628 {25, true, "\014bigshinylock\006minazo\003net", true, kNoPins, DOMAIN_NOT_PINN
ED }, | 641 {25, true, "\014bigshinylock\006minazo\003net", true, kNoPins, DOMAIN_NOT_PINN
ED }, |
| 629 {10, true, "\005crate\002io", true, kNoPins, DOMAIN_NOT_PINNED }, | 642 {10, true, "\005crate\002io", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 630 {13, false, "\007twitter\003com", true, kTwitterComPins, DOMAIN_TWITTER_COM }, | 643 {13, false, "\007twitter\003com", true, kTwitterComPins, DOMAIN_TWITTER_COM }, |
| 631 {17, true, "\003www\007twitter\003com", true, kTwitterComPins, DOMAIN_TWITTER_
COM }, | 644 {17, true, "\003www\007twitter\003com", true, kTwitterComPins, DOMAIN_TWITTER_
COM }, |
| 632 {17, true, "\003api\007twitter\003com", false, kTwitterCDNPins, DOMAIN_TWITTER
_COM }, | 645 {17, true, "\003api\007twitter\003com", false, kTwitterCDNPins, DOMAIN_TWITTER
_COM }, |
| 633 {19, true, "\005oauth\007twitter\003com", false, kTwitterComPins, DOMAIN_TWITT
ER_COM }, | 646 {19, true, "\005oauth\007twitter\003com", false, kTwitterComPins, DOMAIN_TWITT
ER_COM }, |
| 634 {20, true, "\006mobile\007twitter\003com", false, kTwitterComPins, DOMAIN_TWIT
TER_COM }, | 647 {20, true, "\006mobile\007twitter\003com", false, kTwitterComPins, DOMAIN_TWIT
TER_COM }, |
| 635 {17, true, "\003dev\007twitter\003com", false, kTwitterComPins, DOMAIN_TWITTER
_COM }, | 648 {17, true, "\003dev\007twitter\003com", false, kTwitterComPins, DOMAIN_TWITTER
_COM }, |
| 636 {22, true, "\010business\007twitter\003com", false, kTwitterComPins, DOMAIN_TW
ITTER_COM }, | 649 {22, true, "\010business\007twitter\003com", false, kTwitterComPins, DOMAIN_TW
ITTER_COM }, |
| 637 {22, true, "\010platform\007twitter\003com", false, kTwitterCDNPins, DOMAIN_TW
ITTER_COM }, | 650 {22, true, "\010platform\007twitter\003com", false, kTwitterCDNPins, DOMAIN_TW
ITTER_COM }, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 {11, false, "\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, | 704 {11, false, "\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, |
| 692 {16, false, "\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMAIL_COM
}, | 705 {16, false, "\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMAIL_COM
}, |
| 693 {15, false, "\003www\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, | 706 {15, false, "\003www\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, |
| 694 {20, false, "\003www\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMA
IL_COM }, | 707 {20, false, "\003www\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMA
IL_COM }, |
| 695 {22, true, "\020google-analytics\003com", false, kGooglePins, DOMAIN_GOOGLE_AN
ALYTICS_COM }, | 708 {22, true, "\020google-analytics\003com", false, kGooglePins, DOMAIN_GOOGLE_AN
ALYTICS_COM }, |
| 696 {18, true, "\014googlegroups\003com", false, kGooglePins, DOMAIN_GOOGLEGROUPS_
COM }, | 709 {18, true, "\014googlegroups\003com", false, kGooglePins, DOMAIN_GOOGLEGROUPS_
COM }, |
| 697 }; | 710 }; |
| 698 static const size_t kNumPreloadedSNISTS = ARRAYSIZE_UNSAFE(kPreloadedSNISTS); | 711 static const size_t kNumPreloadedSNISTS = ARRAYSIZE_UNSAFE(kPreloadedSNISTS); |
| 699 | 712 |
| 700 #endif // NET_BASE_TRANSPORT_SECURITY_STATE_STATIC_H_ | 713 #endif // NET_BASE_TRANSPORT_SECURITY_STATE_STATIC_H_ |
| OLD | NEW |