| 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 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 // enum { | 25 // enum { |
| 26 // rsa_sign(1), dss_sign(2), rsa_fixed_dh(3), dss_fixed_dh(4), | 26 // rsa_sign(1), dss_sign(2), rsa_fixed_dh(3), dss_fixed_dh(4), |
| 27 // rsa_ephemeral_dh_RESERVED(5), dss_ephemeral_dh_RESERVED(6), | 27 // rsa_ephemeral_dh_RESERVED(5), dss_ephemeral_dh_RESERVED(6), |
| 28 // fortezza_dms_RESERVED(20), (255) | 28 // fortezza_dms_RESERVED(20), (255) |
| 29 // } ClientCertificateType; | 29 // } ClientCertificateType; |
| 30 // | 30 // |
| 31 // opaque DistinguishedName<1..2^16-1>; | 31 // opaque DistinguishedName<1..2^16-1>; |
| 32 // | 32 // |
| 33 // struct { | 33 // struct { |
| 34 // ClientCertificateType certificate_types<1..2^8-1>; | 34 // ClientCertificateType certificate_types<1..2^8-1>; |
| 35 // DistinguishedName certificate_authorities<3..2^16-1>; | 35 // DistinguishedName certificate_authorities<0..2^16-1>; |
| 36 // } CertificateRequest; | 36 // } CertificateRequest; |
| 37 class NET_EXPORT SSLCertRequestInfo | 37 class NET_EXPORT SSLCertRequestInfo |
| 38 : public base::RefCountedThreadSafe<SSLCertRequestInfo> { | 38 : public base::RefCountedThreadSafe<SSLCertRequestInfo> { |
| 39 public: | 39 public: |
| 40 SSLCertRequestInfo(); | 40 SSLCertRequestInfo(); |
| 41 | 41 |
| 42 void Reset(); | 42 void Reset(); |
| 43 | 43 |
| 44 // The host and port of the SSL server that requested client authentication. | 44 // The host and port of the SSL server that requested client authentication. |
| 45 HostPortPair host_and_port; | 45 HostPortPair host_and_port; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; | 62 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; |
| 63 | 63 |
| 64 ~SSLCertRequestInfo(); | 64 ~SSLCertRequestInfo(); |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace net | 67 } // namespace net |
| 68 | 68 |
| 69 #endif // NET_SSL_SSL_CERT_REQUEST_INFO_H_ | 69 #endif // NET_SSL_SSL_CERT_REQUEST_INFO_H_ |
| OLD | NEW |