OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_BASE_CLIENT_CERT_STORE_H_ | 5 #ifndef NET_SSL_CLIENT_CERT_STORE_H_ |
6 #define NET_BASE_CLIENT_CERT_STORE_H_ | 6 #define NET_SSL_CLIENT_CERT_STORE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "net/base/net_export.h" | 9 #include "net/base/net_export.h" |
10 #include "net/base/x509_certificate.h" | 10 #include "net/base/x509_certificate.h" |
11 | 11 |
12 namespace net { | 12 namespace net { |
13 | 13 |
14 class SSLCertRequestInfo; | 14 class SSLCertRequestInfo; |
15 | 15 |
16 class NET_EXPORT ClientCertStore { | 16 class NET_EXPORT ClientCertStore { |
17 public: | 17 public: |
18 virtual ~ClientCertStore() {} | 18 virtual ~ClientCertStore() {} |
19 | 19 |
20 virtual bool GetClientCerts(const SSLCertRequestInfo& cert_request_info, | 20 virtual bool GetClientCerts(const SSLCertRequestInfo& cert_request_info, |
21 CertificateList* selected_certs) = 0; | 21 CertificateList* selected_certs) = 0; |
22 protected: | 22 protected: |
23 ClientCertStore() {} | 23 ClientCertStore() {} |
24 | 24 |
25 private: | 25 private: |
26 DISALLOW_COPY_AND_ASSIGN(ClientCertStore); | 26 DISALLOW_COPY_AND_ASSIGN(ClientCertStore); |
27 }; | 27 }; |
28 | 28 |
29 } // namespace net | 29 } // namespace net |
30 | 30 |
31 #endif // NET_BASE_CLIENT_CERT_STORE_H_ | 31 #endif // NET_SSL_CLIENT_CERT_STORE_H_ |
OLD | NEW |