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

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

Issue 6667020: This change loads opencryptoki and uses the TPM for keygen tags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleaning up Created 9 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
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 "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/crypto_module.h" 10 #include "net/base/crypto_module.h"
(...skipping 23 matching lines...) Expand all
34 // TODO(bulach): implement me. 34 // TODO(bulach): implement me.
35 NOTIMPLEMENTED(); 35 NOTIMPLEMENTED();
36 return ERR_NOT_IMPLEMENTED; 36 return ERR_NOT_IMPLEMENTED;
37 } 37 }
38 38
39 void CertDatabase::ListCerts(CertificateList* certs) { 39 void CertDatabase::ListCerts(CertificateList* certs) {
40 // TODO(bulach): implement me. 40 // TODO(bulach): implement me.
41 NOTIMPLEMENTED(); 41 NOTIMPLEMENTED();
42 } 42 }
43 43
44 CryptoModule* CertDatabase::GetDefaultModule() const { 44 CryptoModule* CertDatabase::GetPublicModule() const {
45 // TODO(bulach): implement me. 45 // TODO(bulach): implement me.
46 NOTIMPLEMENTED(); 46 NOTIMPLEMENTED();
47 return NULL; 47 return NULL;
48 }
49
50 CryptoModule* CertDatabase::GetPrivateModule() const {
51 // TODO(bulach): implement me.
52 NOTIMPLEMENTED();
53 return NULL;
48 } 54 }
49 55
50 void CertDatabase::ListModules(CryptoModuleList* modules, bool need_rw) const { 56 void CertDatabase::ListModules(CryptoModuleList* modules, bool need_rw) const {
51 // TODO(bulach): implement me. 57 // TODO(bulach): implement me.
52 NOTIMPLEMENTED(); 58 NOTIMPLEMENTED();
53 modules->clear(); 59 modules->clear();
54 } 60 }
55 61
56 int CertDatabase::ImportFromPKCS12(CryptoModule* module, 62 int CertDatabase::ImportFromPKCS12(CryptoModule* module,
57 const std::string& data, 63 const std::string& data,
(...skipping 26 matching lines...) Expand all
84 90
85 bool CertDatabase::SetCertTrust(const X509Certificate* cert, 91 bool CertDatabase::SetCertTrust(const X509Certificate* cert,
86 CertType type, 92 CertType type,
87 unsigned int trust_bits) { 93 unsigned int trust_bits) {
88 // TODO(bulach): implement me. 94 // TODO(bulach): implement me.
89 NOTIMPLEMENTED(); 95 NOTIMPLEMENTED();
90 return false; 96 return false;
91 } 97 }
92 98
93 } // namespace net 99 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698