| OLD | NEW |
| 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 virtual bool GetSslCipherSuite(int* cipher_suite); | 204 virtual bool GetSslCipherSuite(int* cipher_suite); |
| 205 | 205 |
| 206 virtual int GetSslVersion() const = 0; | 206 virtual int GetSslVersion() const = 0; |
| 207 | 207 |
| 208 // Key Exporter interface from RFC 5705 | 208 // Key Exporter interface from RFC 5705 |
| 209 // Arguments are: | 209 // Arguments are: |
| 210 // label -- the exporter label. | 210 // label -- the exporter label. |
| 211 // part of the RFC defining each exporter | 211 // part of the RFC defining each exporter |
| 212 // usage (IN) | 212 // usage (IN) |
| 213 // context/context_len -- a context to bind to for this connection; | 213 // context/context_len -- a context to bind to for this connection; |
| 214 // optional, can be NULL, 0 (IN) | 214 // optional, can be null, 0 (IN) |
| 215 // use_context -- whether to use the context value | 215 // use_context -- whether to use the context value |
| 216 // (needed to distinguish no context from | 216 // (needed to distinguish no context from |
| 217 // zero-length ones). | 217 // zero-length ones). |
| 218 // result -- where to put the computed value | 218 // result -- where to put the computed value |
| 219 // result_len -- the length of the computed value | 219 // result_len -- the length of the computed value |
| 220 virtual bool ExportKeyingMaterial(const std::string& label, | 220 virtual bool ExportKeyingMaterial(const std::string& label, |
| 221 const uint8_t* context, | 221 const uint8_t* context, |
| 222 size_t context_len, | 222 size_t context_len, |
| 223 bool use_context, | 223 bool use_context, |
| 224 uint8_t* result, | 224 uint8_t* result, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 263 |
| 264 // If true (default), the client is required to provide a certificate during | 264 // If true (default), the client is required to provide a certificate during |
| 265 // handshake. If no certificate is given, handshake fails. This applies to | 265 // handshake. If no certificate is given, handshake fails. This applies to |
| 266 // server mode only. | 266 // server mode only. |
| 267 bool client_auth_enabled_; | 267 bool client_auth_enabled_; |
| 268 }; | 268 }; |
| 269 | 269 |
| 270 } // namespace rtc | 270 } // namespace rtc |
| 271 | 271 |
| 272 #endif // WEBRTC_BASE_SSLSTREAMADAPTER_H_ | 272 #endif // WEBRTC_BASE_SSLSTREAMADAPTER_H_ |
| OLD | NEW |