OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SSL_CERT_REQUEST_INFO_H_ | 5 #ifndef NET_SSL_SSL_CERT_REQUEST_INFO_H_ |
6 #define NET_BASE_SSL_CERT_REQUEST_INFO_H_ | 6 #define NET_SSL_SSL_CERT_REQUEST_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
13 #include "net/base/ssl_client_cert_type.h" | 13 #include "net/ssl/ssl_client_cert_type.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 class X509Certificate; | 17 class X509Certificate; |
18 | 18 |
19 // The SSLCertRequestInfo class represents server criteria regarding client | 19 // The SSLCertRequestInfo class represents server criteria regarding client |
20 // certificate required for a secure connection. | 20 // certificate required for a secure connection. |
21 // | 21 // |
22 // In TLS 1.1, the CertificateRequest | 22 // In TLS 1.1, the CertificateRequest |
23 // message is defined as: | 23 // message is defined as: |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 std::vector<scoped_refptr<X509Certificate> > client_certs; | 58 std::vector<scoped_refptr<X509Certificate> > client_certs; |
59 | 59 |
60 private: | 60 private: |
61 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; | 61 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; |
62 | 62 |
63 ~SSLCertRequestInfo(); | 63 ~SSLCertRequestInfo(); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace net | 66 } // namespace net |
67 | 67 |
68 #endif // NET_BASE_SSL_CERT_REQUEST_INFO_H_ | 68 #endif // NET_SSL_SSL_CERT_REQUEST_INFO_H_ |
OLD | NEW |