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

Unified Diff: net/cert/nss_cert_database.h

Issue 1423333006: Adding User Certificate (.crt) Import to Certificate Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/cert/nss_cert_database.h
diff --git a/net/cert/nss_cert_database.h b/net/cert/nss_cert_database.h
index 42447f95a733b1b7efed148d9cf5769f3f56be0d..e558d61df464d485eca1561608572e89de0bed48 100644
--- a/net/cert/nss_cert_database.h
+++ b/net/cert/nss_cert_database.h
@@ -192,6 +192,10 @@ class NET_EXPORT NSSCertDatabase {
// TODO(mattm): improve this to handle any order.
X509Certificate* FindRootInList(const CertificateList& certificates) const;
+ // Import user certificates.
mattm 2015/11/06 23:13:00 "Import a user certificate", since it only does on
svaldez 2015/11/10 15:07:50 Done.
+ // Returns OK or a network error code such as ERR_PKCS12_IMPORT_ERROR.
+ int ImportUserCert(const std::string& data);
+
// Import CA certificates.
// Tries to import all the certificates given. The root will be trusted
// according to |trust_bits|. Any certificates that could not be imported

Powered by Google App Engine
This is Rietveld 408576698