| 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_SSL_SSL_CERT_REQUEST_INFO_H_ | 5 #ifndef NET_SSL_SSL_CERT_REQUEST_INFO_H_ |
| 6 #define NET_SSL_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/host_port_pair.h" | 12 #include "net/base/host_port_pair.h" |
| 13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 14 #include "net/ssl/client_cert_identity.h" |
| 14 #include "net/ssl/ssl_client_cert_type.h" | 15 #include "net/ssl/ssl_client_cert_type.h" |
| 15 | 16 |
| 16 namespace net { | 17 namespace net { |
| 17 | 18 |
| 18 // The SSLCertRequestInfo class represents server criteria regarding client | 19 // The SSLCertRequestInfo class represents server criteria regarding client |
| 19 // certificate required for a secure connection. | 20 // certificate required for a secure connection. |
| 20 // | 21 // |
| 21 // In TLS 1.1, the CertificateRequest | 22 // In TLS 1.1, the CertificateRequest |
| 22 // message is defined as: | 23 // message is defined as: |
| 23 // enum { | 24 // enum { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 54 | 55 |
| 55 private: | 56 private: |
| 56 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; | 57 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; |
| 57 | 58 |
| 58 ~SSLCertRequestInfo(); | 59 ~SSLCertRequestInfo(); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace net | 62 } // namespace net |
| 62 | 63 |
| 63 #endif // NET_SSL_SSL_CERT_REQUEST_INFO_H_ | 64 #endif // NET_SSL_SSL_CERT_REQUEST_INFO_H_ |
| OLD | NEW |