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

Side by Side Diff: net/base/cert_database_openssl.cc

Issue 6580058: NSS: Unlock crypto devices when populating cert manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing newline Created 9 years, 10 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
« net/base/cert_database_nss.cc ('K') | « net/base/cert_database_nss.cc ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/base/cert_database.h" 5 #include "net/base/cert_database.h"
6 6
7 #include <openssl/x509.h> 7 #include <openssl/x509.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
(...skipping 28 matching lines...) Expand all
39 // TODO(bulach): implement me. 39 // TODO(bulach): implement me.
40 NOTIMPLEMENTED(); 40 NOTIMPLEMENTED();
41 } 41 }
42 42
43 CryptoModule* CertDatabase::GetDefaultModule() const { 43 CryptoModule* CertDatabase::GetDefaultModule() const {
44 // TODO(bulach): implement me. 44 // TODO(bulach): implement me.
45 NOTIMPLEMENTED(); 45 NOTIMPLEMENTED();
46 return NULL; 46 return NULL;
47 } 47 }
48 48
49 void CertDatabase::ListModules(CryptoModuleList* modules, bool need_rw) const {
50 // TODO(bulach): implement me.
51 NOTIMPLEMENTED();
wtc 2011/03/02 03:33:28 Let's at least call modules->clear().
mattm 2011/03/05 02:16:32 Done.
52 }
53
49 int CertDatabase::ImportFromPKCS12(net::CryptoModule* module, 54 int CertDatabase::ImportFromPKCS12(net::CryptoModule* module,
50 const std::string& data, 55 const std::string& data,
51 const string16& password) { 56 const string16& password) {
52 // TODO(bulach): implement me. 57 // TODO(bulach): implement me.
53 NOTIMPLEMENTED(); 58 NOTIMPLEMENTED();
54 return ERR_NOT_IMPLEMENTED; 59 return ERR_NOT_IMPLEMENTED;
55 } 60 }
56 61
57 int CertDatabase::ExportToPKCS12(const CertificateList& certs, 62 int CertDatabase::ExportToPKCS12(const CertificateList& certs,
58 const string16& password, 63 const string16& password,
(...skipping 18 matching lines...) Expand all
77 82
78 bool CertDatabase::SetCertTrust(const X509Certificate* cert, 83 bool CertDatabase::SetCertTrust(const X509Certificate* cert,
79 CertType type, 84 CertType type,
80 unsigned int trust_bits) { 85 unsigned int trust_bits) {
81 // TODO(bulach): implement me. 86 // TODO(bulach): implement me.
82 NOTIMPLEMENTED(); 87 NOTIMPLEMENTED();
83 return false; 88 return false;
84 } 89 }
85 90
86 } // namespace net 91 } // namespace net
OLDNEW
« net/base/cert_database_nss.cc ('K') | « net/base/cert_database_nss.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698