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/webrtc/BufferT.h"
7#include "mc/external/webrtc/DtlsTransportState.h"
8#include "mc/external/webrtc/PacketTransportInternal.h"
9#include "mc/external/webrtc/SSLRole.h"
10#include "mc/external/webrtc/scoped_refptr.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace webrtc { class IceTransportInternal; }
15namespace webrtc { class RTCCertificate; }
16namespace webrtc { class RTCError; }
17namespace webrtc { class SSLCertChain; }
18// clang-format on
19
20namespace webrtc {
21
22class DtlsTransportInternal : public ::webrtc::PacketTransportInternal {
23public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 DtlsTransportInternal& operator=(DtlsTransportInternal const&);
33 DtlsTransportInternal(DtlsTransportInternal const&);
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~DtlsTransportInternal() /*override*/;
39
40 virtual ::webrtc::DtlsTransportState dtls_state() const = 0;
41
42 virtual int component() const = 0;
43
44 virtual bool IsDtlsActive() const = 0;
45
46 virtual bool GetDtlsRole(::webrtc::SSLRole* role) const = 0;
47
48 virtual bool SetDtlsRole(::webrtc::SSLRole role) = 0;
49
50 virtual bool GetSslVersionBytes(int* version) const = 0;
51
52 virtual ushort GetSslGroupId() const = 0;
53
54 virtual bool GetSrtpCryptoSuite(int* cipher) const = 0;
55
56 virtual bool GetSslCipherSuite(int* cipher) const = 0;
57
58 virtual ::std::optional<::std::string_view> GetTlsCipherSuiteName() const = 0;
59
60 virtual ushort GetSslPeerSignatureAlgorithm() const = 0;
61
62 virtual ::webrtc::scoped_refptr<::webrtc::RTCCertificate> GetLocalCertificate() const = 0;
63
64 virtual bool SetLocalCertificate(::webrtc::scoped_refptr<::webrtc::RTCCertificate> const& certificate) = 0;
65
66 virtual ::std::unique_ptr<::webrtc::SSLCertChain> GetRemoteSSLCertChain() const = 0;
67
68 virtual bool ExportSrtpKeyingMaterial(::webrtc::BufferT<uchar, 1>& keying_material) = 0;
69
70 virtual bool SetRemoteFingerprint(::std::string_view digest_alg, uchar const* digest, uint64 digest_len) = 0;
71
72 virtual ::webrtc::RTCError SetRemoteParameters(
73 ::std::string_view digest_alg,
74 uchar const* digest,
75 uint64 digest_len,
76 ::std::optional<::webrtc::SSLRole> role
77 ) = 0;
78
79 virtual ::webrtc::IceTransportInternal* ice_transport() = 0;
80 // NOLINTEND
81
82public:
83 // member functions
84 // NOLINTBEGIN
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCNAPI void* $ctor();
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCNAPI void $dtor();
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCNAPI static void** $vftable();
104 // NOLINTEND
105};
106
107} // namespace webrtc
Definition BufferT.h:8
static MCAPI void ** $vftable()
Definition IceTransportInternal.h:29
Definition PacketTransportInternal.h:20
Definition RTCCertificate.h:18
Definition RTCError.h:10
Definition SSLCertChain.h:13
Definition scoped_refptr.h:8
Definition Alias.h:14