LeviLamina
Loading...
Searching...
No Matches
OpenSSLCertificateInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/crypto/certificate/Encoding.h"
7#include "mc/deps/crypto/certificate/ISystemInterface.h"
8#include "mc/deps/crypto/certificate/ThumbprintFormat.h"
9#include "mc/deps/crypto/hash/HashType.h"
10
11namespace Crypto::Certificate {
12
14public:
15 // member variables
16 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 0
31 virtual ~OpenSSLCertificateInterface() /*override*/ = default;
32
33 // vIndex: 1
34 virtual ::std::string serialize(::Crypto::Certificate::Encoding encoding) const /*override*/;
35
36 // vIndex: 2
37 virtual ::std::string extractPublicKey(::Crypto::Certificate::Encoding encoding) const /*override*/;
38
39 // vIndex: 3
40 virtual ::std::string extractPrivateKey(::Crypto::Certificate::Encoding encoding) const /*override*/;
41
42 // vIndex: 4
43 virtual ::std::string getIssuer() const /*override*/;
44
45 // vIndex: 5
46 virtual bool hasValidCertChain() const /*override*/;
47
48 // vIndex: 6
49 virtual ::std::string generateCertificateThumbprint(
50 ::Crypto::Hash::HashType hashFunction,
51 ::Crypto::Certificate::ThumbprintFormat formatting
52 ) const /*override*/;
53
54 // vIndex: 7
55 virtual ::std::string generatePublicKeyThumbprint(
56 ::Crypto::Hash::HashType hashFunction,
57 ::Crypto::Certificate::ThumbprintFormat formatting
58 ) const /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCNAPI OpenSSLCertificateInterface(::Crypto::Certificate::Encoding encoding, ::std::string const& certificateData);
65 // NOLINTEND
66
67public:
68 // static functions
69 // NOLINTBEGIN
70 MCNAPI static ::std::string
71 _formatThumbprint(::std::string const& rawThumbprint, ::Crypto::Certificate::ThumbprintFormat formatting);
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCNAPI void* $ctor(::Crypto::Certificate::Encoding encoding, ::std::string const& certificateData);
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCNAPI ::std::string $serialize(::Crypto::Certificate::Encoding encoding) const;
84
85 MCNAPI ::std::string $extractPublicKey(::Crypto::Certificate::Encoding encoding) const;
86
87 MCNAPI ::std::string $extractPrivateKey(::Crypto::Certificate::Encoding encoding) const;
88
89 MCNAPI ::std::string $getIssuer() const;
90
91 MCNAPI bool $hasValidCertChain() const;
92
93 MCNAPI ::std::string $generateCertificateThumbprint(
94 ::Crypto::Hash::HashType hashFunction,
95 ::Crypto::Certificate::ThumbprintFormat formatting
96 ) const;
97
98 MCNAPI ::std::string $generatePublicKeyThumbprint(
99 ::Crypto::Hash::HashType hashFunction,
100 ::Crypto::Certificate::ThumbprintFormat formatting
101 ) const;
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCNAPI static void** $vftable();
108 // NOLINTEND
109};
110
111} // namespace Crypto::Certificate
Definition ISystemInterface.h:12
Definition OpenSSLCertificateInterface.h:13
MCAPI::std::string $extractPublicKey(::Crypto::Certificate::Encoding encoding) const
MCAPI::std::string $generateCertificateThumbprint(::Crypto::Hash::HashType hashFunction, ::Crypto::Certificate::ThumbprintFormat formatting) const
MCAPI::std::string $serialize(::Crypto::Certificate::Encoding encoding) const
MCAPI OpenSSLCertificateInterface(::Crypto::Certificate::Encoding encoding, ::std::string const &certificateData)
MCAPI::std::string $generatePublicKeyThumbprint(::Crypto::Hash::HashType hashFunction, ::Crypto::Certificate::ThumbprintFormat formatting) const
static MCAPI ::std::string _formatThumbprint(::std::string const &rawThumbprint, ::Crypto::Certificate::ThumbprintFormat formatting)
MCAPI::std::string $extractPrivateKey(::Crypto::Certificate::Encoding encoding) const
MCAPI void * $ctor(::Crypto::Certificate::Encoding encoding, ::std::string const &certificateData)
Definition Alias.h:14
Definition serialize.h:11