Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: chrome/common/net/x509_certificate_model_openssl.cc

Issue 182313004: Remove GetPkcs11Id from x509_certificate_model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: .. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/net/x509_certificate_model_nss.cc ('k') | chromeos/cert_loader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 } 173 }
174 174
175 void GetNicknameStringsFromCertList( 175 void GetNicknameStringsFromCertList(
176 const std::vector<scoped_refptr<net::X509Certificate> >& certs, 176 const std::vector<scoped_refptr<net::X509Certificate> >& certs,
177 const std::string& cert_expired, 177 const std::string& cert_expired,
178 const std::string& cert_not_yet_valid, 178 const std::string& cert_not_yet_valid,
179 std::vector<std::string>* nick_names) { 179 std::vector<std::string>* nick_names) {
180 // TODO(bulach): implement me. 180 // TODO(bulach): implement me.
181 } 181 }
182 182
183 std::string GetPkcs11Id(net::X509Certificate::OSCertHandle cert_handle) {
184 // TODO(jamescook): implement me.
185 return "";
186 }
187
188 void GetExtensions( 183 void GetExtensions(
189 const std::string& critical_label, 184 const std::string& critical_label,
190 const std::string& non_critical_label, 185 const std::string& non_critical_label,
191 net::X509Certificate::OSCertHandle cert_handle, 186 net::X509Certificate::OSCertHandle cert_handle,
192 Extensions* extensions) { 187 Extensions* extensions) {
193 // TODO(bulach): implement me. 188 // TODO(bulach): implement me.
194 } 189 }
195 190
196 std::string HashCertSHA256(net::X509Certificate::OSCertHandle cert_handle) { 191 std::string HashCertSHA256(net::X509Certificate::OSCertHandle cert_handle) {
197 unsigned char sha256_data[SHA256_DIGEST_LENGTH] = {0}; 192 unsigned char sha256_data[SHA256_DIGEST_LENGTH] = {0};
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 std::string ProcessRawBitsSignatureWrap( 257 std::string ProcessRawBitsSignatureWrap(
263 net::X509Certificate::OSCertHandle cert_handle) { 258 net::X509Certificate::OSCertHandle cert_handle) {
264 // TODO(bulach): implement me. 259 // TODO(bulach): implement me.
265 return ""; 260 return "";
266 } 261 }
267 262
268 void RegisterDynamicOids() { 263 void RegisterDynamicOids() {
269 } 264 }
270 265
271 } // namespace x509_certificate_model 266 } // namespace x509_certificate_model
OLDNEW
« no previous file with comments | « chrome/common/net/x509_certificate_model_nss.cc ('k') | chromeos/cert_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698