/* * Copyright 2016 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef P2P_BASE_DTLS_TRANSPORT_INTERNAL_H_ #define P2P_BASE_DTLS_TRANSPORT_INTERNAL_H_ #include <stddef.h> #include <stdint.h> #include <memory> #include <string> #include <utility> #include "absl/base/attributes.h" #include "absl/strings/string_view.h" #include "api/crypto/crypto_options.h" #include "api/dtls_transport_interface.h" #include "api/scoped_refptr.h" #include "p2p/base/ice_transport_internal.h" #include "p2p/base/packet_transport_internal.h" #include "rtc_base/callback_list.h" #include "rtc_base/ssl_certificate.h" #include "rtc_base/ssl_fingerprint.h" #include "rtc_base/ssl_stream_adapter.h" namespace cricket { enum PacketFlags { … }; // DtlsTransportInternal is an internal interface that does DTLS, also // negotiating SRTP crypto suites so that it may be used for DTLS-SRTP. // // Once the public interface is supported, // (https://www.w3.org/TR/webrtc/#rtcdtlstransport-interface) // the DtlsTransportInterface will be split from this class. class DtlsTransportInternal : public rtc::PacketTransportInternal { … }; } // namespace cricket #endif // P2P_BASE_DTLS_TRANSPORT_INTERNAL_H_