Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: webrtc/base/sslstreamadapter.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/sslfingerprint.cc ('k') | webrtc/base/sslstreamadapter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // part of the RFC defining each exporter 160 // part of the RFC defining each exporter
161 // usage (IN) 161 // usage (IN)
162 // context/context_len -- a context to bind to for this connection; 162 // context/context_len -- a context to bind to for this connection;
163 // optional, can be NULL, 0 (IN) 163 // optional, can be NULL, 0 (IN)
164 // use_context -- whether to use the context value 164 // use_context -- whether to use the context value
165 // (needed to distinguish no context from 165 // (needed to distinguish no context from
166 // zero-length ones). 166 // zero-length ones).
167 // result -- where to put the computed value 167 // result -- where to put the computed value
168 // result_len -- the length of the computed value 168 // result_len -- the length of the computed value
169 virtual bool ExportKeyingMaterial(const std::string& label, 169 virtual bool ExportKeyingMaterial(const std::string& label,
170 const uint8* context, 170 const uint8_t* context,
171 size_t context_len, 171 size_t context_len,
172 bool use_context, 172 bool use_context,
173 uint8* result, 173 uint8_t* result,
174 size_t result_len); 174 size_t result_len);
175 175
176 // DTLS-SRTP interface 176 // DTLS-SRTP interface
177 virtual bool SetDtlsSrtpCiphers(const std::vector<std::string>& ciphers); 177 virtual bool SetDtlsSrtpCiphers(const std::vector<std::string>& ciphers);
178 virtual bool GetDtlsSrtpCipher(std::string* cipher); 178 virtual bool GetDtlsSrtpCipher(std::string* cipher);
179 179
180 // Capabilities testing 180 // Capabilities testing
181 static bool HaveDtls(); 181 static bool HaveDtls();
182 static bool HaveDtlsSrtp(); 182 static bool HaveDtlsSrtp();
183 static bool HaveExporter(); 183 static bool HaveExporter();
(...skipping 17 matching lines...) Expand all
201 201
202 // If true (default), the client is required to provide a certificate during 202 // If true (default), the client is required to provide a certificate during
203 // handshake. If no certificate is given, handshake fails. This applies to 203 // handshake. If no certificate is given, handshake fails. This applies to
204 // server mode only. 204 // server mode only.
205 bool client_auth_enabled_; 205 bool client_auth_enabled_;
206 }; 206 };
207 207
208 } // namespace rtc 208 } // namespace rtc
209 209
210 #endif // WEBRTC_BASE_SSLSTREAMADAPTER_H_ 210 #endif // WEBRTC_BASE_SSLSTREAMADAPTER_H_
OLDNEW
« no previous file with comments | « webrtc/base/sslfingerprint.cc ('k') | webrtc/base/sslstreamadapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698