LeviLamina
Loading...
Searching...
No Matches
DtlsTransportInternal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/PacketTransportInternal.h"
7#include "mc/external/rtc/SSLRole.h"
8#include "mc/external/webrtc/DtlsTransportState.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace cricket { class IceTransportInternal; }
14namespace rtc { class RTCCertificate; }
15namespace rtc { class SSLCertChain; }
16namespace webrtc { class RTCError; }
17// clang-format on
18
19namespace cricket {
20
21class DtlsTransportInternal : public ::rtc::PacketTransportInternal {
22public:
23 // member variables
24 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 DtlsTransportInternal& operator=(DtlsTransportInternal const&);
32 DtlsTransportInternal(DtlsTransportInternal const&);
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~DtlsTransportInternal() /*override*/;
38
39 virtual ::webrtc::DtlsTransportState dtls_state() const = 0;
40
41 virtual int component() const = 0;
42
43 virtual bool IsDtlsActive() const = 0;
44
45 virtual bool GetDtlsRole(::rtc::SSLRole*) const = 0;
46
47 virtual bool SetDtlsRole(::rtc::SSLRole) = 0;
48
49 virtual bool GetSslVersionBytes(int*) const = 0;
50
51 virtual bool GetSrtpCryptoSuite(int*) = 0;
52
53 virtual bool GetSslCipherSuite(int* cipher_suite) = 0;
54
55 virtual ushort GetSslPeerSignatureAlgorithm() const = 0;
56
57 virtual ::webrtc::scoped_refptr<::rtc::RTCCertificate> GetLocalCertificate() const = 0;
58
59 virtual bool SetLocalCertificate(::webrtc::scoped_refptr<::rtc::RTCCertificate> const& certificate) = 0;
60
61 virtual ::std::unique_ptr<::rtc::SSLCertChain> GetRemoteSSLCertChain() const = 0;
62
63 virtual bool ExportKeyingMaterial(
64 ::std::string_view label,
65 uchar const* context,
66 uint64 context_len,
67 bool use_context,
68 uchar* result,
69 uint64 result_len
70 ) = 0;
71
72 virtual bool SetRemoteFingerprint(::std::string_view, uchar const*, uint64) = 0;
73
74 virtual ::webrtc::RTCError
75 SetRemoteParameters(::std::string_view, uchar const*, uint64, ::std::optional<::rtc::SSLRole>) = 0;
76
77 virtual ::cricket::IceTransportInternal* ice_transport() = 0;
78 // NOLINTEND
79
80public:
81 // member functions
82 // NOLINTBEGIN
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCNAPI void* $ctor();
90 // NOLINTEND
91
92public:
93 // destructor thunk
94 // NOLINTBEGIN
95 MCNAPI void $dtor();
96 // NOLINTEND
97
98public:
99 // virtual function thunks
100 // NOLINTBEGIN
101
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCNAPI static void** $vftable();
108 // NOLINTEND
109};
110
111} // namespace cricket
static MCAPI void ** $vftable()
Definition IceTransportInternal.h:26
Definition PacketTransportInternal.h:20
Definition RTCCertificate.h:18
Definition SSLCertChain.h:13
Definition RTCError.h:10
Definition scoped_refptr.h:8
Definition context.h:5
Definition Alias.h:14