OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2012 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 |
11 #ifndef WEBRTC_P2P_BASE_TRANSPORTDESCRIPTION_H_ | 11 #ifndef WEBRTC_P2P_BASE_TRANSPORTDESCRIPTION_H_ |
12 #define WEBRTC_P2P_BASE_TRANSPORTDESCRIPTION_H_ | 12 #define WEBRTC_P2P_BASE_TRANSPORTDESCRIPTION_H_ |
13 | 13 |
14 #include <algorithm> | 14 #include <algorithm> |
15 #include <memory> | 15 #include <memory> |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/p2p/base/p2pconstants.h" | 19 #include "webrtc/p2p/base/p2pconstants.h" |
20 #include "webrtc/rtc_base/sslfingerprint.h" | 20 #include "webrtc/base/sslfingerprint.h" |
21 | 21 |
22 namespace cricket { | 22 namespace cricket { |
23 | 23 |
24 // SEC_ENABLED and SEC_REQUIRED should only be used if the session | 24 // SEC_ENABLED and SEC_REQUIRED should only be used if the session |
25 // was negotiated over TLS, to protect the inline crypto material | 25 // was negotiated over TLS, to protect the inline crypto material |
26 // exchange. | 26 // exchange. |
27 // SEC_DISABLED: No crypto in outgoing offer, ignore any supplied crypto. | 27 // SEC_DISABLED: No crypto in outgoing offer, ignore any supplied crypto. |
28 // SEC_ENABLED: Crypto in outgoing offer and answer (if supplied in offer). | 28 // SEC_ENABLED: Crypto in outgoing offer and answer (if supplied in offer). |
29 // SEC_REQUIRED: Crypto in outgoing offer and answer. Fail any offer with absent | 29 // SEC_REQUIRED: Crypto in outgoing offer and answer. Fail any offer with absent |
30 // or unsupported crypto. | 30 // or unsupported crypto. |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 std::string ice_pwd; | 172 std::string ice_pwd; |
173 IceMode ice_mode; | 173 IceMode ice_mode; |
174 ConnectionRole connection_role; | 174 ConnectionRole connection_role; |
175 | 175 |
176 std::unique_ptr<rtc::SSLFingerprint> identity_fingerprint; | 176 std::unique_ptr<rtc::SSLFingerprint> identity_fingerprint; |
177 }; | 177 }; |
178 | 178 |
179 } // namespace cricket | 179 } // namespace cricket |
180 | 180 |
181 #endif // WEBRTC_P2P_BASE_TRANSPORTDESCRIPTION_H_ | 181 #endif // WEBRTC_P2P_BASE_TRANSPORTDESCRIPTION_H_ |
OLD | NEW |