| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 "\x94\x97\xfe\xc6\x5e\xfb\x48\xe3\x33\xb1"; | 239 "\x94\x97\xfe\xc6\x5e\xfb\x48\xe3\x33\xb1"; |
| 240 | 240 |
| 241 static const char kSPKIHash_AlphaSSL_G2[] = | 241 static const char kSPKIHash_AlphaSSL_G2[] = |
| 242 "\xe5\x24\xe9\x8e\x31\x7d\xc8\xfc\xad\x90" | 242 "\xe5\x24\xe9\x8e\x31\x7d\xc8\xfc\xad\x90" |
| 243 "\x53\x7c\x91\xe7\x0d\xa4\x70\x93\x90\x5f"; | 243 "\x53\x7c\x91\xe7\x0d\xa4\x70\x93\x90\x5f"; |
| 244 | 244 |
| 245 static const char kSPKIHash_CryptoCat1[] = | 245 static const char kSPKIHash_CryptoCat1[] = |
| 246 "\x4c\x87\xce\x85\x2c\xf4\xc0\x4d\x67\xa9" | 246 "\x4c\x87\xce\x85\x2c\xf4\xc0\x4d\x67\xa9" |
| 247 "\xe0\xec\x51\x0c\x7f\x3b\x14\xb3\xe9\xc9"; | 247 "\xe0\xec\x51\x0c\x7f\x3b\x14\xb3\xe9\xc9"; |
| 248 | 248 |
| 249 static const char kSPKIHash_Libertylavabitcom[] = |
| 250 "\x41\xbb\x3b\x8b\xc7\xcf\x3d\x13\x3f\x17" |
| 251 "\xb3\x25\x7e\xe4\x03\xca\x8a\x5c\x6d\x36"; |
| 252 |
| 249 // The following is static data describing the hosts that are hardcoded with | 253 // The following is static data describing the hosts that are hardcoded with |
| 250 // certificate pins or HSTS information. | 254 // certificate pins or HSTS information. |
| 251 | 255 |
| 252 // kNoRejectedPublicKeys is a placeholder for when no public keys are rejected. | 256 // kNoRejectedPublicKeys is a placeholder for when no public keys are rejected. |
| 253 static const char* const kNoRejectedPublicKeys[] = { | 257 static const char* const kNoRejectedPublicKeys[] = { |
| 254 NULL, | 258 NULL, |
| 255 }; | 259 }; |
| 256 | 260 |
| 257 static const char* const kTestAcceptableCerts[] = { | 261 static const char* const kTestAcceptableCerts[] = { |
| 258 kSPKIHash_TestSPKI, | 262 kSPKIHash_TestSPKI, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 static const char* const kCryptoCatAcceptableCerts[] = { | 396 static const char* const kCryptoCatAcceptableCerts[] = { |
| 393 kSPKIHash_DigiCertEVRoot, | 397 kSPKIHash_DigiCertEVRoot, |
| 394 kSPKIHash_CryptoCat1, | 398 kSPKIHash_CryptoCat1, |
| 395 NULL, | 399 NULL, |
| 396 }; | 400 }; |
| 397 #define kCryptoCatPins { \ | 401 #define kCryptoCatPins { \ |
| 398 kCryptoCatAcceptableCerts, \ | 402 kCryptoCatAcceptableCerts, \ |
| 399 kNoRejectedPublicKeys, \ | 403 kNoRejectedPublicKeys, \ |
| 400 } | 404 } |
| 401 | 405 |
| 406 static const char* const kLavabitAcceptableCerts[] = { |
| 407 kSPKIHash_Libertylavabitcom, |
| 408 NULL, |
| 409 }; |
| 410 #define kLavabitPins { \ |
| 411 kLavabitAcceptableCerts, \ |
| 412 kNoRejectedPublicKeys, \ |
| 413 } |
| 414 |
| 402 #define kNoPins {\ | 415 #define kNoPins {\ |
| 403 NULL, NULL, \ | 416 NULL, NULL, \ |
| 404 } | 417 } |
| 405 | 418 |
| 406 static const struct HSTSPreload kPreloadedSTS[] = { | 419 static const struct HSTSPreload kPreloadedSTS[] = { |
| 407 {25, true, "\013pinningtest\007appspot\003com", false, kTestPins, DOMAIN_APPSP
OT_COM }, | 420 {25, true, "\013pinningtest\007appspot\003com", false, kTestPins, DOMAIN_APPSP
OT_COM }, |
| 408 {12, true, "\006google\003com", false, kGooglePins, DOMAIN_GOOGLE_COM }, | 421 {12, true, "\006google\003com", false, kGooglePins, DOMAIN_GOOGLE_COM }, |
| 409 {19, true, "\006wallet\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM
}, | 422 {19, true, "\006wallet\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM
}, |
| 410 {21, true, "\010checkout\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_C
OM }, | 423 {21, true, "\010checkout\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_C
OM }, |
| 411 {19, true, "\006chrome\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM
}, | 424 {19, true, "\006chrome\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM
}, |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 873 {23, true, "\021strongest-privacy\003com", true, kNoPins, DOMAIN_NOT_PINNED }, | 886 {23, true, "\021strongest-privacy\003com", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 874 {25, true, "\011ecosystem\011atlassian\003net", true, kNoPins, DOMAIN_NOT_PINN
ED }, | 887 {25, true, "\011ecosystem\011atlassian\003net", true, kNoPins, DOMAIN_NOT_PINN
ED }, |
| 875 {18, true, "\002id\011atlassian\003com", true, kNoPins, DOMAIN_NOT_PINNED }, | 888 {18, true, "\002id\011atlassian\003com", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 876 {15, false, "\011bitbucket\003org", true, kNoPins, DOMAIN_NOT_PINNED }, | 889 {15, false, "\011bitbucket\003org", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 877 {12, true, "\007cupcake\002io", true, kNoPins, DOMAIN_NOT_PINNED }, | 890 {12, true, "\007cupcake\002io", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 878 {12, true, "\007cupcake\002is", true, kNoPins, DOMAIN_NOT_PINNED }, | 891 {12, true, "\007cupcake\002is", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 879 {9, true, "\004tent\002io", true, kNoPins, DOMAIN_NOT_PINNED }, | 892 {9, true, "\004tent\002io", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 880 {12, true, "\006cybozu\003com", true, kNoPins, DOMAIN_NOT_PINNED }, | 893 {12, true, "\006cybozu\003com", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 881 {17, true, "\013davidlyness\003com", true, kNoPins, DOMAIN_NOT_PINNED }, | 894 {17, true, "\013davidlyness\003com", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 882 {12, true, "\006medium\003com", true, kNoPins, DOMAIN_NOT_PINNED }, | 895 {12, true, "\006medium\003com", true, kNoPins, DOMAIN_NOT_PINNED }, |
| 896 {21, true, "\007liberty\007lavabit\003com", true, kLavabitPins, DOMAIN_LAVABIT
_COM }, |
| 883 }; | 897 }; |
| 884 static const size_t kNumPreloadedSTS = ARRAYSIZE_UNSAFE(kPreloadedSTS); | 898 static const size_t kNumPreloadedSTS = ARRAYSIZE_UNSAFE(kPreloadedSTS); |
| 885 | 899 |
| 886 static const struct HSTSPreload kPreloadedSNISTS[] = { | 900 static const struct HSTSPreload kPreloadedSNISTS[] = { |
| 887 {11, false, "\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, | 901 {11, false, "\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, |
| 888 {16, false, "\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMAIL_COM
}, | 902 {16, false, "\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMAIL_COM
}, |
| 889 {15, false, "\003www\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, | 903 {15, false, "\003www\005gmail\003com", true, kGooglePins, DOMAIN_GMAIL_COM }, |
| 890 {20, false, "\003www\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMA
IL_COM }, | 904 {20, false, "\003www\012googlemail\003com", true, kGooglePins, DOMAIN_GOOGLEMA
IL_COM }, |
| 891 {22, true, "\020google-analytics\003com", false, kGooglePins, DOMAIN_GOOGLE_AN
ALYTICS_COM }, | 905 {22, true, "\020google-analytics\003com", false, kGooglePins, DOMAIN_GOOGLE_AN
ALYTICS_COM }, |
| 892 {18, true, "\014googlegroups\003com", false, kGooglePins, DOMAIN_GOOGLEGROUPS_
COM }, | 906 {18, true, "\014googlegroups\003com", false, kGooglePins, DOMAIN_GOOGLEGROUPS_
COM }, |
| 893 }; | 907 }; |
| 894 static const size_t kNumPreloadedSNISTS = ARRAYSIZE_UNSAFE(kPreloadedSNISTS); | 908 static const size_t kNumPreloadedSNISTS = ARRAYSIZE_UNSAFE(kPreloadedSNISTS); |
| 895 | 909 |
| 896 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ | 910 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ |
| OLD | NEW |