LeviLamina
Loading...
Searching...
No Matches
RTCCertificateGenerator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/absl/AnyInvocable.h"
7#include "mc/external/rtc/RTCCertificateGeneratorInterface.h"
8#include "mc/external/webrtc/scoped_refptr.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace rtc { class KeyParams; }
13namespace rtc { class RTCCertificate; }
14namespace rtc { class Thread; }
15// clang-format on
16
17namespace rtc {
18
20public:
21 // member variables
22 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~RTCCertificateGenerator() /*override*/ = default;
38
39 // vIndex: 1
40 virtual void GenerateCertificateAsync(
41 ::rtc::KeyParams const& key_params,
42 ::std::optional<uint64> const& expires_ms,
44 ) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCNAPI RTCCertificateGenerator(::rtc::Thread* signaling_thread, ::rtc::Thread* worker_thread);
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCNAPI static ::webrtc::scoped_refptr<::rtc::RTCCertificate>
57 GenerateCertificate(::rtc::KeyParams const& key_params, ::std::optional<uint64> const& expires_ms);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCNAPI void* $ctor(::rtc::Thread* signaling_thread, ::rtc::Thread* worker_thread);
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
70 ::rtc::KeyParams const& key_params,
71 ::std::optional<uint64> const& expires_ms,
73 );
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
82
83} // namespace rtc
Definition AnyInvocable.h:8
Definition KeyParams.h:16
Definition RTCCertificateGeneratorInterface.h:17
Definition RTCCertificateGenerator.h:19
MCAPI void $GenerateCertificateAsync(::rtc::KeyParams const &key_params, ::std::optional< uint64 > const &expires_ms, ::absl::AnyInvocable< void(::webrtc::scoped_refptr<::rtc::RTCCertificate >) && > callback)
static MCAPI ::webrtc::scoped_refptr<::rtc::RTCCertificate > GenerateCertificate(::rtc::KeyParams const &key_params, ::std::optional< uint64 > const &expires_ms)
MCAPI RTCCertificateGenerator(::rtc::Thread *signaling_thread, ::rtc::Thread *worker_thread)
MCAPI void * $ctor(::rtc::Thread *signaling_thread, ::rtc::Thread *worker_thread)
static MCAPI void ** $vftable()
Definition Thread.h:20
Definition scoped_refptr.h:8
Definition Alias.h:14