| 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 #include "net/http/transport_security_state.h" | 5 #include "net/http/transport_security_state.h" |
| 6 | 6 |
| 7 #if defined(USE_OPENSSL) | 7 #if defined(USE_OPENSSL) |
| 8 #include <openssl/ecdsa.h> | 8 #include <openssl/ecdsa.h> |
| 9 #include <openssl/ssl.h> | 9 #include <openssl/ssl.h> |
| 10 #else // !defined(USE_OPENSSL) | 10 #else // !defined(USE_OPENSSL) |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 DOMAIN_GOOGLE_WS, | 519 DOMAIN_GOOGLE_WS, |
| 520 | 520 |
| 521 DOMAIN_CHROMIUM_ORG, | 521 DOMAIN_CHROMIUM_ORG, |
| 522 | 522 |
| 523 DOMAIN_CRYPTO_CAT, | 523 DOMAIN_CRYPTO_CAT, |
| 524 DOMAIN_LAVABIT_COM, | 524 DOMAIN_LAVABIT_COM, |
| 525 | 525 |
| 526 DOMAIN_GOOGLETAGMANAGER_COM, | 526 DOMAIN_GOOGLETAGMANAGER_COM, |
| 527 DOMAIN_GOOGLETAGSERVICES_COM, | 527 DOMAIN_GOOGLETAGSERVICES_COM, |
| 528 | 528 |
| 529 DOMAIN_DROPBOX_COM, |
| 530 |
| 529 // Boundary value for UMA_HISTOGRAM_ENUMERATION: | 531 // Boundary value for UMA_HISTOGRAM_ENUMERATION: |
| 530 DOMAIN_NUM_EVENTS | 532 DOMAIN_NUM_EVENTS |
| 531 }; | 533 }; |
| 532 | 534 |
| 533 // PublicKeyPins contains a number of SubjectPublicKeyInfo hashes for a site. | 535 // PublicKeyPins contains a number of SubjectPublicKeyInfo hashes for a site. |
| 534 // The validated certificate chain for the site must not include any of | 536 // The validated certificate chain for the site must not include any of |
| 535 // |excluded_hashes| and must include one or more of |required_hashes|. | 537 // |excluded_hashes| and must include one or more of |required_hashes|. |
| 536 struct PublicKeyPins { | 538 struct PublicKeyPins { |
| 537 const char* const* required_hashes; | 539 const char* const* required_hashes; |
| 538 const char* const* excluded_hashes; | 540 const char* const* excluded_hashes; |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 899 return pkp.spki_hashes.size() > 0 || pkp.bad_spki_hashes.size() > 0; | 901 return pkp.spki_hashes.size() > 0 || pkp.bad_spki_hashes.size() > 0; |
| 900 } | 902 } |
| 901 | 903 |
| 902 TransportSecurityState::DomainState::PKPState::PKPState() { | 904 TransportSecurityState::DomainState::PKPState::PKPState() { |
| 903 } | 905 } |
| 904 | 906 |
| 905 TransportSecurityState::DomainState::PKPState::~PKPState() { | 907 TransportSecurityState::DomainState::PKPState::~PKPState() { |
| 906 } | 908 } |
| 907 | 909 |
| 908 } // namespace | 910 } // namespace |
| OLD | NEW |