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

Unified Diff: net/base/cert_database.h

Issue 3565006: Decouples certificates viewers from NSS to prepare support for OpenSSL. (Closed)
Patch Set: Comments / ProcessIDN Created 10 years, 2 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
« no previous file with comments | « chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp ('k') | net/base/cert_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_database.h
diff --git a/net/base/cert_database.h b/net/base/cert_database.h
index a3f8fc2d56ba752e8ee38c70c055a4d87122ce3b..113a65814f9e1a08f1ef329df896606321550710 100644
--- a/net/base/cert_database.h
+++ b/net/base/cert_database.h
@@ -12,29 +12,13 @@
#include "base/basictypes.h"
#include "base/string16.h"
#include "base/ref_counted.h"
+#include "net/base/cert_type.h"
namespace net {
class X509Certificate;
typedef std::vector<scoped_refptr<X509Certificate> > CertificateList;
-// Constants to classify the type of a certificate.
-// This is only used in the context of CertDatabase, but is defined outside to
-// avoid an awkwardly long type name.
-// The type is a combination of intrinsic properties, such as the presense of an
-// email address or Certificate Authority Basic Constraint, and assigned trust
-// values. For example, a cert with no email address, basic constraints, or
-// trust, would be classified as UNKNOWN_CERT. If that cert is then trusted
-// with SetCertTrust(cert, SERVER_CERT, TRUSTED_SSL), it would become a
-// SERVER_CERT.
-enum CertType {
- UNKNOWN_CERT,
- CA_CERT,
- USER_CERT,
- EMAIL_CERT,
- SERVER_CERT,
- NUM_CERT_TYPES
-};
// This class provides functions to manipulate the local
// certificate store.
« no previous file with comments | « chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp ('k') | net/base/cert_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698