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

Unified Diff: net/base/cert_database.h

Issue 261035: Adds support for the <keygen> tag for client certificate enrollment under Lin... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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
Index: net/base/cert_database.h
===================================================================
--- net/base/cert_database.h (revision 0)
+++ net/base/cert_database.h (revision 0)
@@ -0,0 +1,34 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_BASE_CERT_DATABASE_H_
+#define NET_BASE_CERT_DATABASE_H_
+
+#include "net/base/x509_certificate.h"
+
+namespace net {
+
+// This class provides functions to manipulate the local
+// certificate store.
+
+// TODO(gauravsh): This class could be augmented with methods
+// for all operations that manipulate the underlying system
+// certificate store.
+
+class CertDatabase {
+ public:
+ CertDatabase();
+
+ // Extract and Store User (Client) Certificate from a data blob.
+ // Return true if successful.
+ bool AddUserCert(const char* data, int len);
+
+ private:
+ void Init();
+ DISALLOW_COPY_AND_ASSIGN(CertDatabase);
+};
+
+} // namespace net
+
+#endif // NET_BASE_CERT_DATABASE_H_
Property changes on: net/base/cert_database.h
___________________________________________________________________
Name: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698