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 // vIndex: 0
19 virtual ~SSLIdentity();
20
21 // vIndex: 1
22 virtual ::rtc::SSLCertificate const& certificate() const = 0;
23
24 // vIndex: 2
25 virtual ::rtc::SSLCertChain const& cert_chain() const = 0;
26
27 // vIndex: 3
28 virtual ::std::string PrivateKeyToPEMString() const = 0;
29
30 // vIndex: 4
31 virtual ::std::string PublicKeyToPEMString() const = 0;
32
33 // vIndex: 5
34 virtual ::std::unique_ptr<::rtc::SSLIdentity> CloneInternal() const = 0;
35 // NOLINTEND
36
37public:
38 // static functions
39 // NOLINTBEGIN
40 MCNAPI static ::std::unique_ptr<::rtc::SSLIdentity>
41 Create(::std::string_view common_name, ::rtc::KeyParams const& key_param);
42
43 MCNAPI static ::std::unique_ptr<::rtc::SSLIdentity>
44 Create(::std::string_view common_name, ::rtc::KeyParams const& key_param, int64 certificate_lifetime);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCNAPI void $dtor();
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
65
66} // namespace rtc
Definition KeyParams.h:16
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()