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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_BASE_CERT_DATABASE_H_
6 #define NET_BASE_CERT_DATABASE_H_
7
8 #include "net/base/x509_certificate.h"
9
10 namespace net {
11
12 // This class provides functions to manipulate the local
13 // certificate store.
14
15 // TODO(gauravsh): This class could be augmented with methods
16 // for all operations that manipulate the underlying system
17 // certificate store.
18
19 class CertDatabase {
20 public:
21 CertDatabase();
22
23 // Extract and Store User (Client) Certificate from a data blob.
24 // Return true if successful.
25 bool AddUserCert(const char* data, int len);
26
27 private:
28 void Init();
29 DISALLOW_COPY_AND_ASSIGN(CertDatabase);
30 };
31
32 } // namespace net
33
34 #endif // NET_BASE_CERT_DATABASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698