| 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/base/x509_certificate.h" | 5 #include "net/base/x509_certificate.h" |
| 6 | 6 |
| 7 #include <blapi.h> // Implement CalculateChainFingerprint() with NSS. | 7 #include <blapi.h> // Implement CalculateChainFingerprint() with NSS. |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/pickle.h" | 11 #include "base/pickle.h" |
| 12 #include "base/sha1.h" | 12 #include "base/sha1.h" |
| 13 #include "base/string_tokenizer.h" | |
| 14 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 15 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
| 16 #include "crypto/capi_util.h" | 15 #include "crypto/capi_util.h" |
| 17 #include "crypto/rsa_private_key.h" | 16 #include "crypto/rsa_private_key.h" |
| 18 #include "crypto/scoped_capi_types.h" | 17 #include "crypto/scoped_capi_types.h" |
| 19 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
| 20 | 19 |
| 21 #pragma comment(lib, "crypt32.lib") | 20 #pragma comment(lib, "crypt32.lib") |
| 22 | 21 |
| 23 using base::Time; | 22 using base::Time; |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 if (IsCertNameBlobInIssuerList(&(*it)->pCertInfo->Issuer, | 496 if (IsCertNameBlobInIssuerList(&(*it)->pCertInfo->Issuer, |
| 498 valid_issuers)) { | 497 valid_issuers)) { |
| 499 return true; | 498 return true; |
| 500 } | 499 } |
| 501 } | 500 } |
| 502 | 501 |
| 503 return false; | 502 return false; |
| 504 } | 503 } |
| 505 | 504 |
| 506 } // namespace net | 505 } // namespace net |
| OLD | NEW |