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_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ | 7 #ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ |
8 #define NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ | 8 #define NET_HTTP_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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 "\x53\x7c\x91\xe7\x0d\xa4\x70\x93\x90\x5f"; | 207 "\x53\x7c\x91\xe7\x0d\xa4\x70\x93\x90\x5f"; |
208 | 208 |
209 static const char kSPKIHash_CryptoCat1[] = | 209 static const char kSPKIHash_CryptoCat1[] = |
210 "\x4c\x87\xce\x85\x2c\xf4\xc0\x4d\x67\xa9" | 210 "\x4c\x87\xce\x85\x2c\xf4\xc0\x4d\x67\xa9" |
211 "\xe0\xec\x51\x0c\x7f\x3b\x14\xb3\xe9\xc9"; | 211 "\xe0\xec\x51\x0c\x7f\x3b\x14\xb3\xe9\xc9"; |
212 | 212 |
213 static const char kSPKIHash_Libertylavabitcom[] = | 213 static const char kSPKIHash_Libertylavabitcom[] = |
214 "\x41\xbb\x3b\x8b\xc7\xcf\x3d\x13\x3f\x17" | 214 "\x41\xbb\x3b\x8b\xc7\xcf\x3d\x13\x3f\x17" |
215 "\xb3\x25\x7e\xe4\x03\xca\x8a\x5c\x6d\x36"; | 215 "\xb3\x25\x7e\xe4\x03\xca\x8a\x5c\x6d\x36"; |
216 | 216 |
| 217 static const char kSPKIHash_GlobalSignRootCA[] = |
| 218 "\x87\xdb\xd4\x5f\xb0\x92\x8d\x4e\x1d\xf8" |
| 219 "\x15\x67\xe7\xf2\xab\xaf\xd6\x2b\x67\x75"; |
| 220 |
| 221 static const char kSPKIHash_GlobalSignRootCA_R2[] = |
| 222 "\xa5\x06\x8a\x78\xcf\x84\xbd\x74\x32\xdd" |
| 223 "\x58\xf9\x65\xeb\x3a\x55\xe7\xc7\x80\xdc"; |
| 224 |
| 225 static const char kSPKIHash_GlobalSignRootCA_R3[] = |
| 226 "\xf7\x93\x19\xef\xdf\xc1\xf5\x20\xfb\xac" |
| 227 "\x85\x55\x2c\xf2\xd2\x8f\x5a\xb9\xca\x0b"; |
| 228 |
217 // The following is static data describing the hosts that are hardcoded with | 229 // The following is static data describing the hosts that are hardcoded with |
218 // certificate pins or HSTS information. | 230 // certificate pins or HSTS information. |
219 | 231 |
220 // kNoRejectedPublicKeys is a placeholder for when no public keys are rejected. | 232 // kNoRejectedPublicKeys is a placeholder for when no public keys are rejected. |
221 static const char* const kNoRejectedPublicKeys[] = { | 233 static const char* const kNoRejectedPublicKeys[] = { |
222 NULL, | 234 NULL, |
223 }; | 235 }; |
224 | 236 |
225 static const char* const kTestAcceptableCerts[] = { | 237 static const char* const kTestAcceptableCerts[] = { |
226 kSPKIHash_TestSPKI, | 238 kSPKIHash_TestSPKI, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 kSPKIHash_AddTrustQualifiedCARoot, | 330 kSPKIHash_AddTrustQualifiedCARoot, |
319 kSPKIHash_COMODOCertificationAuthority, | 331 kSPKIHash_COMODOCertificationAuthority, |
320 kSPKIHash_SecureCertificateServices, | 332 kSPKIHash_SecureCertificateServices, |
321 kSPKIHash_TrustedCertificateServices, | 333 kSPKIHash_TrustedCertificateServices, |
322 kSPKIHash_UTNDATACorpSGC, | 334 kSPKIHash_UTNDATACorpSGC, |
323 kSPKIHash_UTNUSERFirstClientAuthenticationandEmail, | 335 kSPKIHash_UTNUSERFirstClientAuthenticationandEmail, |
324 kSPKIHash_UTNUSERFirstHardware, | 336 kSPKIHash_UTNUSERFirstHardware, |
325 kSPKIHash_UTNUSERFirstObject, | 337 kSPKIHash_UTNUSERFirstObject, |
326 kSPKIHash_GTECyberTrustGlobalRoot, | 338 kSPKIHash_GTECyberTrustGlobalRoot, |
327 kSPKIHash_BaltimoreCyberTrustRoot, | 339 kSPKIHash_BaltimoreCyberTrustRoot, |
| 340 kSPKIHash_GlobalSignRootCA, |
| 341 kSPKIHash_GlobalSignRootCA_R2, |
| 342 kSPKIHash_GlobalSignRootCA_R3, |
328 NULL, | 343 NULL, |
329 }; | 344 }; |
330 #define kTwitterCDNPins { \ | 345 #define kTwitterCDNPins { \ |
331 kTwitterCDNAcceptableCerts, \ | 346 kTwitterCDNAcceptableCerts, \ |
332 kNoRejectedPublicKeys, \ | 347 kNoRejectedPublicKeys, \ |
333 } | 348 } |
334 | 349 |
335 static const char* const kTor2webAcceptableCerts[] = { | 350 static const char* const kTor2webAcceptableCerts[] = { |
336 kSPKIHash_AlphaSSL_G2, | 351 kSPKIHash_AlphaSSL_G2, |
337 kSPKIHash_Tor2web, | 352 kSPKIHash_Tor2web, |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 {25, true, "\014bigshinylock\006minazo\003net", true, kNoPins, DOMAIN_NOT_PINN
ED }, | 722 {25, true, "\014bigshinylock\006minazo\003net", true, kNoPins, DOMAIN_NOT_PINN
ED }, |
708 {10, true, "\005crate\002io", true, kNoPins, DOMAIN_NOT_PINNED }, | 723 {10, true, "\005crate\002io", true, kNoPins, DOMAIN_NOT_PINNED }, |
709 {13, false, "\007twitter\003com", true, kTwitterComPins, DOMAIN_TWITTER_COM }, | 724 {13, false, "\007twitter\003com", true, kTwitterComPins, DOMAIN_TWITTER_COM }, |
710 {17, true, "\003www\007twitter\003com", true, kTwitterComPins, DOMAIN_TWITTER_
COM }, | 725 {17, true, "\003www\007twitter\003com", true, kTwitterComPins, DOMAIN_TWITTER_
COM }, |
711 {17, true, "\003api\007twitter\003com", false, kTwitterCDNPins, DOMAIN_TWITTER
_COM }, | 726 {17, true, "\003api\007twitter\003com", false, kTwitterCDNPins, DOMAIN_TWITTER
_COM }, |
712 {19, true, "\005oauth\007twitter\003com", false, kTwitterComPins, DOMAIN_TWITT
ER_COM }, | 727 {19, true, "\005oauth\007twitter\003com", false, kTwitterComPins, DOMAIN_TWITT
ER_COM }, |
713 {20, true, "\006mobile\007twitter\003com", false, kTwitterComPins, DOMAIN_TWIT
TER_COM }, | 728 {20, true, "\006mobile\007twitter\003com", false, kTwitterComPins, DOMAIN_TWIT
TER_COM }, |
714 {17, true, "\003dev\007twitter\003com", false, kTwitterComPins, DOMAIN_TWITTER
_COM }, | 729 {17, true, "\003dev\007twitter\003com", false, kTwitterComPins, DOMAIN_TWITTER
_COM }, |
715 {22, true, "\010business\007twitter\003com", false, kTwitterComPins, DOMAIN_TW
ITTER_COM }, | 730 {22, true, "\010business\007twitter\003com", false, kTwitterComPins, DOMAIN_TW
ITTER_COM }, |
716 {22, true, "\010platform\007twitter\003com", false, kTwitterCDNPins, DOMAIN_TW
ITTER_COM }, | 731 {22, true, "\010platform\007twitter\003com", false, kTwitterCDNPins, DOMAIN_TW
ITTER_COM }, |
717 {15, true, "\003si0\005twimg\003com", false, kTwitterCDNPins, DOMAIN_TWIMG_COM
}, | 732 {11, true, "\005twimg\003com", false, kTwitterCDNPins, DOMAIN_TWIMG_COM }, |
718 {23, true, "\010twimg0-a\010akamaihd\003net", false, kTwitterCDNPins, DOMAIN_A
KAMAIHD_NET }, | |
719 {22, true, "\020braintreegateway\003com", true, kNoPins, DOMAIN_NOT_PINNED }, | 733 {22, true, "\020braintreegateway\003com", true, kNoPins, DOMAIN_NOT_PINNED }, |
720 {23, false, "\021braintreepayments\003com", true, kNoPins, DOMAIN_NOT_PINNED }
, | 734 {23, false, "\021braintreepayments\003com", true, kNoPins, DOMAIN_NOT_PINNED }
, |
721 {27, false, "\003www\021braintreepayments\003com", true, kNoPins, DOMAIN_NOT_P
INNED }, | 735 {27, false, "\003www\021braintreepayments\003com", true, kNoPins, DOMAIN_NOT_P
INNED }, |
722 {24, false, "\022emailprivacytester\003com", true, kNoPins, DOMAIN_NOT_PINNED
}, | 736 {24, false, "\022emailprivacytester\003com", true, kNoPins, DOMAIN_NOT_PINNED
}, |
723 {13, true, "\007tor2web\003org", false, kTor2webPins, DOMAIN_TOR2WEB_ORG }, | 737 {13, true, "\007tor2web\003org", false, kTor2webPins, DOMAIN_TOR2WEB_ORG }, |
724 {25, true, "\010business\007medbank\003com\002mt", true, kNoPins, DOMAIN_NOT_P
INNED }, | 738 {25, true, "\010business\007medbank\003com\002mt", true, kNoPins, DOMAIN_NOT_P
INNED }, |
725 {14, true, "\005arivo\003com\002br", true, kNoPins, DOMAIN_NOT_PINNED }, | 739 {14, true, "\005arivo\003com\002br", true, kNoPins, DOMAIN_NOT_PINNED }, |
726 {21, true, "\003www\013apollo-auto\003com", true, kNoPins, DOMAIN_NOT_PINNED }
, | 740 {21, true, "\003www\013apollo-auto\003com", true, kNoPins, DOMAIN_NOT_PINNED }
, |
727 {15, true, "\003www\005cueup\003com", true, kNoPins, DOMAIN_NOT_PINNED }, | 741 {15, true, "\003www\005cueup\003com", true, kNoPins, DOMAIN_NOT_PINNED }, |
728 {11, false, "\005jitsi\003org", true, kNoPins, DOMAIN_NOT_PINNED }, | 742 {11, false, "\005jitsi\003org", true, kNoPins, DOMAIN_NOT_PINNED }, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 {11, false, "\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, | 897 {11, false, "\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, |
884 {16, false, "\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMAIL_COM
}, | 898 {16, false, "\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMAIL_COM
}, |
885 {15, false, "\003www\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, | 899 {15, false, "\003www\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, |
886 {20, false, "\003www\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMA
IL_COM }, | 900 {20, false, "\003www\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMA
IL_COM }, |
887 {22, true, "\020google-analytics\003com", false, kGooglePins, DOMAIN_GOOGLE_AN
ALYTICS_COM }, | 901 {22, true, "\020google-analytics\003com", false, kGooglePins, DOMAIN_GOOGLE_AN
ALYTICS_COM }, |
888 {18, true, "\014googlegroups\003com", false, kGooglePins, DOMAIN_GOOGLEGROUPS_
COM }, | 902 {18, true, "\014googlegroups\003com", false, kGooglePins, DOMAIN_GOOGLEGROUPS_
COM }, |
889 }; | 903 }; |
890 static const size_t kNumPreloadedSNISTS = ARRAYSIZE_UNSAFE(kPreloadedSNISTS); | 904 static const size_t kNumPreloadedSNISTS = ARRAYSIZE_UNSAFE(kPreloadedSNISTS); |
891 | 905 |
892 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ | 906 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ |
OLD | NEW |