LeviLamina
Loading...
Searching...
No Matches
OpenSSLCertificate.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/BufferT.h"
7#include "mc/external/webrtc/SSLCertificate.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class OpenSSLKeyPair; }
12namespace webrtc { struct SSLIdentityParams; }
13// clang-format on
14
15namespace webrtc {
16
17class OpenSSLCertificate : public ::webrtc::SSLCertificate {
18public:
19 // member variables
20 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 OpenSSLCertificate& operator=(OpenSSLCertificate const&);
27 OpenSSLCertificate(OpenSSLCertificate const&);
28 OpenSSLCertificate();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~OpenSSLCertificate() /*override*/;
34
35 virtual ::std::unique_ptr<::webrtc::SSLCertificate> Clone() const /*override*/;
36
37 virtual ::std::string ToPEMString() const /*override*/;
38
39 virtual void ToDER(::webrtc::BufferT<uchar, 0>* der_buffer) const /*override*/;
40
41 virtual bool ComputeDigest(::std::string_view algorithm, ::webrtc::BufferT<uchar, 0>& digest) const /*override*/;
42
43 virtual bool GetSignatureDigestAlgorithm(::std::string* algorithm) const /*override*/;
44
45 virtual int64 CertificateExpirationTime() const /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCNAPI explicit OpenSSLCertificate(::x509_st* x509);
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCNAPI static ::std::unique_ptr<::webrtc::OpenSSLCertificate>
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCNAPI void* $ctor(::x509_st* x509);
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCNAPI void $dtor();
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCNAPI ::std::unique_ptr<::webrtc::SSLCertificate> $Clone() const;
77
78 MCNAPI ::std::string $ToPEMString() const;
79
80 MCNAPI void $ToDER(::webrtc::BufferT<uchar, 0>* der_buffer) const;
81
82 MCNAPI bool $ComputeDigest(::std::string_view algorithm, ::webrtc::BufferT<uchar, 0>& digest) const;
83
84 MCNAPI bool $GetSignatureDigestAlgorithm(::std::string* algorithm) const;
85
86 MCNAPI int64 $CertificateExpirationTime() const;
87
88
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
97
98} // namespace webrtc
Definition BufferT.h:8
static MCAPI void ** $vftable()
MCAPI int64 $CertificateExpirationTime() const
MCAPI ::std::unique_ptr<::webrtc::SSLCertificate > $Clone() const
MCAPI void * $ctor(::x509_st *x509)
MCAPI bool $ComputeDigest(::std::string_view algorithm, ::webrtc::BufferT< uchar, 0 > &digest) const
MCAPI OpenSSLCertificate(::x509_st *x509)
static MCAPI ::std::unique_ptr<::webrtc::OpenSSLCertificate > Generate(::webrtc::OpenSSLKeyPair *key_pair, ::webrtc::SSLIdentityParams const &params)
MCAPI void $ToDER(::webrtc::BufferT< uchar, 0 > *der_buffer) const
MCAPI::std::string $ToPEMString() const
MCAPI bool $GetSignatureDigestAlgorithm(::std::string *algorithm) const
Definition OpenSSLKeyPair.h:12
Definition SSLCertificate.h:15
Definition Alias.h:14
Definition SSLIdentityParams.h:7