Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 229 rtc::scoped_ptr<rtc::SSLStreamAdapter> dtls_; // The DTLS stream | 229 rtc::scoped_ptr<rtc::SSLStreamAdapter> dtls_; // The DTLS stream |
| 230 StreamInterfaceChannel* downward_; // Wrapper for channel_, owned by dtls_. | 230 StreamInterfaceChannel* downward_; // Wrapper for channel_, owned by dtls_. |
| 231 std::vector<int> srtp_ciphers_; // SRTP ciphers to use with DTLS. | 231 std::vector<int> srtp_ciphers_; // SRTP ciphers to use with DTLS. |
| 232 bool dtls_active_ = false; | 232 bool dtls_active_ = false; |
| 233 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; | 233 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; |
| 234 rtc::SSLRole ssl_role_; | 234 rtc::SSLRole ssl_role_; |
| 235 rtc::SSLProtocolVersion ssl_max_version_; | 235 rtc::SSLProtocolVersion ssl_max_version_; |
| 236 rtc::Buffer remote_fingerprint_value_; | 236 rtc::Buffer remote_fingerprint_value_; |
| 237 std::string remote_fingerprint_algorithm_; | 237 std::string remote_fingerprint_algorithm_; |
| 238 | 238 |
| 239 // Cached DTLS packet that was received before we started the DTLS handshake. | |
| 240 // This could happen if a DTLS hello was received before the transport channel | |
| 241 // became writable, or before a remote fingerprint was received. | |
| 242 rtc::Buffer cached_dtls_packet_; | |
|
juberti2
2016/04/25 20:40:19
Might want to call this cached_client_hello_, if w
Taylor Brandstetter
2016/04/26 22:55:58
Done.
| |
| 243 | |
| 239 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); | 244 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); |
| 240 }; | 245 }; |
| 241 | 246 |
| 242 } // namespace cricket | 247 } // namespace cricket |
| 243 | 248 |
| 244 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ | 249 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
| OLD | NEW |