| 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/bio.h> | 7 #include <openssl/bio.h> |
| 8 #include <openssl/obj_mac.h> | 8 #include <openssl/obj_mac.h> |
| 9 #include <openssl/sha.h> | 9 #include <openssl/sha.h> |
| 10 #include <openssl/x509v3.h> | 10 #include <openssl/x509v3.h> |
| (...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1211 return rv; | 1211 return rv; |
| 1212 } | 1212 } |
| 1213 default: | 1213 default: |
| 1214 rv = ProcessRawAsn1String(X509_get_X509_PUBKEY(cert_handle)->public_key); | 1214 rv = ProcessRawAsn1String(X509_get_X509_PUBKEY(cert_handle)->public_key); |
| 1215 return rv; | 1215 return rv; |
| 1216 } | 1216 } |
| 1217 } | 1217 } |
| 1218 | 1218 |
| 1219 std::string ProcessRawBitsSignatureWrap( | 1219 std::string ProcessRawBitsSignatureWrap( |
| 1220 net::X509Certificate::OSCertHandle cert_handle) { | 1220 net::X509Certificate::OSCertHandle cert_handle) { |
| 1221 // TODO(bulach): implement me. | 1221 return ProcessRawAsn1String(cert_handle->signature); |
| 1222 return ""; | |
| 1223 } | 1222 } |
| 1224 | 1223 |
| 1225 } // namespace x509_certificate_model | 1224 } // namespace x509_certificate_model |
| OLD | NEW |