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 webrtc { class KeyParams; }
8namespace webrtc { class SSLCertChain; }
9namespace webrtc { class SSLCertificate; }
10// clang-format on
11
12namespace webrtc {
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual ~SSLIdentity();
19
20 virtual ::webrtc::SSLCertificate const& certificate() const = 0;
21
22 virtual ::webrtc::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<::webrtc::SSLIdentity> CloneInternal() const = 0;
29 // NOLINTEND
30
31public:
32 // static functions
33 // NOLINTBEGIN
34 MCNAPI static ::std::unique_ptr<::webrtc::SSLIdentity>
35 Create(::std::string_view common_name, ::webrtc::KeyParams const& key_param);
36
37 MCNAPI static ::std::unique_ptr<::webrtc::SSLIdentity>
38 Create(::std::string_view common_name, ::webrtc::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 // vftables
49 // NOLINTBEGIN
50 MCNAPI static void** $vftable();
51 // NOLINTEND
52};
53
54} // namespace webrtc
Definition KeyParams.h:16
Definition SSLCertChain.h:13
Definition SSLCertificate.h:15
Definition SSLIdentity.h:14
MCAPI void $dtor()
static MCAPI void ** $vftable()
static MCAPI ::std::unique_ptr<::webrtc::SSLIdentity > Create(::std::string_view common_name, ::webrtc::KeyParams const &key_param)
static MCAPI ::std::unique_ptr<::webrtc::SSLIdentity > Create(::std::string_view common_name, ::webrtc::KeyParams const &key_param, int64 certificate_lifetime)