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/cert/x509_certificate.h" | 5 #include "net/cert/x509_certificate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/free_deleter.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/numerics/safe_conversions.h" | 10 #include "base/numerics/safe_conversions.h" |
10 #include "base/pickle.h" | 11 #include "base/pickle.h" |
11 #include "base/sha1.h" | 12 #include "base/sha1.h" |
12 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
14 #include "crypto/capi_util.h" | 15 #include "crypto/capi_util.h" |
15 #include "crypto/scoped_capi_types.h" | 16 #include "crypto/scoped_capi_types.h" |
16 #include "crypto/sha2.h" | 17 #include "crypto/sha2.h" |
17 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 X509_ASN_ENCODING, | 489 X509_ASN_ENCODING, |
489 CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT, | 490 CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT, |
490 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), | 491 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), |
491 CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT, | 492 CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT, |
492 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), | 493 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), |
493 0, | 494 0, |
494 NULL); | 495 NULL); |
495 } | 496 } |
496 | 497 |
497 } // namespace net | 498 } // namespace net |
OLD | NEW |