LeviLamina
Loading...
Searching...
No Matches
SSLAdapter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/AsyncSocketAdapter.h"
7#include "mc/external/rtc/SSLMode.h"
8#include "mc/external/rtc/SSLRole.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace rtc { class SSLCertificateVerifier; }
13namespace rtc { class SSLIdentity; }
14namespace rtc { class Socket; }
15namespace rtc { class SocketAddress; }
16// clang-format on
17
18namespace rtc {
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 22
25 virtual void SetIgnoreBadCert(bool) = 0;
26
27 // vIndex: 23
28 virtual void SetAlpnProtocols(::std::vector<::std::string> const&) = 0;
29
30 // vIndex: 24
31 virtual void SetEllipticCurves(::std::vector<::std::string> const&) = 0;
32
33 // vIndex: 25
34 virtual void SetMode(::rtc::SSLMode) = 0;
35
36 // vIndex: 26
37 virtual void SetCertVerifier(::rtc::SSLCertificateVerifier*) = 0;
38
39 // vIndex: 27
40 virtual void SetIdentity(::std::unique_ptr<::rtc::SSLIdentity>) = 0;
41
42 // vIndex: 28
43 virtual void SetRole(::rtc::SSLRole) = 0;
44
45 // vIndex: 29
46 virtual int StartSSL(::std::string_view) = 0;
47
48 // vIndex: 30
49 virtual bool IsResumedSession() = 0;
50
51 // vIndex: 10
52 virtual int Listen(int) /*override*/;
53
54 // vIndex: 11
55 virtual ::rtc::Socket* Accept(::rtc::SocketAddress*) /*override*/;
56
57 // vIndex: 0
58 virtual ~SSLAdapter() /*override*/ = default;
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64 MCAPI static ::rtc::SSLAdapter* Create(::rtc::Socket*);
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76
77 // NOLINTEND
78};
79
80} // namespace rtc
Definition AsyncSocketAdapter.h:17
Definition SSLAdapter.h:20
Definition SSLCertificateVerifier.h:12
Definition SocketAddress.h:12
Definition Socket.h:12