LeviLamina
Loading...
Searching...
No Matches
SSLAdapterFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/SSLMode.h"
7#include "mc/external/webrtc/SSLRole.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class SSLAdapter; }
12namespace webrtc { class SSLCertificateVerifier; }
13namespace webrtc { class SSLIdentity; }
14namespace webrtc { class Socket; }
15// clang-format on
16
17namespace webrtc {
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual ~SSLAdapterFactory() = default;
24
25 virtual void SetMode(::webrtc::SSLMode) = 0;
26
27 virtual void SetCertVerifier(::webrtc::SSLCertificateVerifier*) = 0;
28
29 virtual void SetIdentity(::std::unique_ptr<::webrtc::SSLIdentity>) = 0;
30
31 virtual void SetRole(::webrtc::SSLRole) = 0;
32
33 virtual void SetIgnoreBadCert(bool) = 0;
34
35 virtual ::webrtc::SSLAdapter* CreateAdapter(::webrtc::Socket*) = 0;
36 // NOLINTEND
37};
38
39} // namespace webrtc
Definition SSLAdapterFactory.h:19
Definition SSLAdapter.h:20
Definition SSLCertificateVerifier.h:12
Definition SSLIdentity.h:14
Definition Socket.h:12