OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/common/net/x509_certificate_model.h" | 5 #include "chrome/common/net/x509_certificate_model.h" |
6 | 6 |
7 #include <openssl/obj_mac.h> | 7 #include <openssl/obj_mac.h> |
8 #include <openssl/sha.h> | 8 #include <openssl/sha.h> |
9 #include <openssl/x509v3.h> | 9 #include <openssl/x509v3.h> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
13 #include "net/base/x509_util_openssl.h" | 13 #include "net/cert/x509_util_openssl.h" |
14 | 14 |
15 namespace x509_util = net::x509_util; | 15 namespace x509_util = net::x509_util; |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 std::string AlternativeWhenEmpty(const std::string& text, | 19 std::string AlternativeWhenEmpty(const std::string& text, |
20 const std::string& alternative) { | 20 const std::string& alternative) { |
21 return text.empty() ? alternative : text; | 21 return text.empty() ? alternative : text; |
22 } | 22 } |
23 | 23 |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 std::string ProcessRawBitsSignatureWrap( | 262 std::string ProcessRawBitsSignatureWrap( |
263 net::X509Certificate::OSCertHandle cert_handle) { | 263 net::X509Certificate::OSCertHandle cert_handle) { |
264 // TODO(bulach): implement me. | 264 // TODO(bulach): implement me. |
265 return ""; | 265 return ""; |
266 } | 266 } |
267 | 267 |
268 void RegisterDynamicOids() { | 268 void RegisterDynamicOids() { |
269 } | 269 } |
270 | 270 |
271 } // namespace x509_certificate_model | 271 } // namespace x509_certificate_model |
OLD | NEW |