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

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

Issue 8566056: This applies GUIDs to certificate and key nicknames when (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final review changes Created 9 years 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 | « net/base/cert_database_nss_unittest.cc ('k') | net/base/x509_certificate.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 "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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 NOTIMPLEMENTED(); 75 NOTIMPLEMENTED();
76 return 0; 76 return 0;
77 } 77 }
78 78
79 bool CertDatabase::DeleteCertAndKey(const X509Certificate* cert) { 79 bool CertDatabase::DeleteCertAndKey(const X509Certificate* cert) {
80 // TODO(bulach): implement me. 80 // TODO(bulach): implement me.
81 NOTIMPLEMENTED(); 81 NOTIMPLEMENTED();
82 return false; 82 return false;
83 } 83 }
84 84
85 bool CertDatabase::DeleteCertAndKeyByLabel(const std::string& label) {
86 // TODO(gspencer):Find the certificate with the given label
87 // (nickname), and delete it.
88 NOTIMPLEMENTED();
89 return false;
90 }
91
92 CertDatabase::TrustBits CertDatabase::GetCertTrust(const X509Certificate* cert, 85 CertDatabase::TrustBits CertDatabase::GetCertTrust(const X509Certificate* cert,
93 CertType type) const { 86 CertType type) const {
94 // TODO(bulach): implement me. 87 // TODO(bulach): implement me.
95 NOTIMPLEMENTED(); 88 NOTIMPLEMENTED();
96 return 0; 89 return 0;
97 } 90 }
98 91
99 bool CertDatabase::SetCertTrust(const X509Certificate* cert, 92 bool CertDatabase::SetCertTrust(const X509Certificate* cert,
100 CertType type, 93 CertType type,
101 TrustBits trust_bits) { 94 TrustBits trust_bits) {
102 // TODO(bulach): implement me. 95 // TODO(bulach): implement me.
103 NOTIMPLEMENTED(); 96 NOTIMPLEMENTED();
104 return false; 97 return false;
105 } 98 }
106 99
107 } // namespace net 100 } // namespace net
OLDNEW
« no previous file with comments | « net/base/cert_database_nss_unittest.cc ('k') | net/base/x509_certificate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698