LeviLamina
Loading...
Searching...
No Matches
SSLIdentity.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace rtc { class KeyParams; }
8namespace rtc { class SSLCertChain; }
9namespace rtc { class SSLCertificate; }
10// clang-format on
11
12namespace rtc {
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual ~SSLIdentity();
19
20 virtual ::rtc::SSLCertificate const& certificate() const = 0;
21
22 virtual ::rtc::SSLCertChain const& cert_chain() const = 0;
23
24 virtual ::std::string PrivateKeyToPEMString() const = 0;
25
26 virtual ::std::string PublicKeyToPEMString() const = 0;
27
28 virtual ::std::unique_ptr<::rtc::SSLIdentity> CloneInternal() const = 0;
29 // NOLINTEND
30
31public:
32 // static functions
33 // NOLINTBEGIN
34 MCNAPI static ::std::unique_ptr<::rtc::SSLIdentity>
35 Create(::std::string_view common_name, ::rtc::KeyParams const& key_param);
36
37 MCNAPI static ::std::unique_ptr<::rtc::SSLIdentity>
38 Create(::std::string_view common_name, ::rtc::KeyParams const& key_param, int64 certificate_lifetime);
39 // NOLINTEND
40
41public:
42 // destructor thunk
43 // NOLINTBEGIN
44 MCNAPI void $dtor();
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
59
60} // namespace rtc
Definition KeyParams.h:16
Definition SSLCertChain.h:13
Definition SSLCertificate.h:15
Definition SSLIdentity.h:14
static MCAPI void ** $vftable()
static MCAPI ::std::unique_ptr<::rtc::SSLIdentity > Create(::std::string_view common_name, ::rtc::KeyParams const &key_param)
static MCAPI ::std::unique_ptr<::rtc::SSLIdentity > Create(::std::string_view common_name, ::rtc::KeyParams const &key_param, int64 certificate_lifetime)
MCAPI void $dtor()