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_util.h" | 5 #include "net/cert/x509_util.h" |
6 #include "net/cert/x509_util_nss.h" | 6 #include "net/cert/x509_util_nss.h" |
7 | 7 |
8 #include <cert.h> // Must be included before certdb.h | 8 #include <cert.h> // Must be included before certdb.h |
9 #include <certdb.h> | 9 #include <certdb.h> |
10 #include <cryptohi.h> | 10 #include <cryptohi.h> |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 CERT_DestroyCertificate(cert); | 173 CERT_DestroyCertificate(cert); |
174 return false; | 174 return false; |
175 } | 175 } |
176 | 176 |
177 der_cert->assign(reinterpret_cast<char*>(cert->derCert.data), | 177 der_cert->assign(reinterpret_cast<char*>(cert->derCert.data), |
178 cert->derCert.len); | 178 cert->derCert.len); |
179 CERT_DestroyCertificate(cert); | 179 CERT_DestroyCertificate(cert); |
180 return true; | 180 return true; |
181 } | 181 } |
182 | 182 |
| 183 bool GetTLSServerEndPointChannelBinding(const X509Certificate& certificate, |
| 184 std::string* token) { |
| 185 NOTIMPLEMENTED(); |
| 186 return false; |
| 187 } |
| 188 |
183 } // namespace x509_util | 189 } // namespace x509_util |
184 | 190 |
185 } // namespace net | 191 } // namespace net |
OLD | NEW |