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

Unified Diff: net/base/cert_database.h

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 side-by-side diff with in-line comments
Download patch
Index: net/base/cert_database.h
diff --git a/net/base/cert_database.h b/net/base/cert_database.h
index c03bca99fe425a98a327114a83cdbb778bc7f9c5..42045781d968b7a57737d881b475a6955477b1fe 100644
--- a/net/base/cert_database.h
+++ b/net/base/cert_database.h
@@ -93,9 +93,13 @@ class CertDatabase {
// instance of all certificates.)
void ListCerts(CertificateList* certs);
- // Get the default module.
+ // Get the default module for public key data.
// The returned pointer must be stored in a scoped_refptr<CryptoModule>.
- CryptoModule* GetDefaultModule() const;
+ CryptoModule* GetPublicModule() const;
+
+ // Get the default module for private key or mixed private/public key data.
+ // The returned pointer must be stored in a scoped_refptr<CryptoModule>.
+ CryptoModule* GetPrivateModule() const;
wtc 2011/04/07 05:56:33 Same here -- the use of "Public" vs. "Private" is
// Get all modules.
// If |need_rw| is true, only writable modules will be returned.

Powered by Google App Engine
This is Rietveld 408576698