LeviLamina
Loading...
Searching...
No Matches
PrivateKeyManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/certificates/KeyManager.h"
7#include "mc/deps/crypto/asymmetric/system/System.h"
8
9class PrivateKeyManager : public ::KeyManager {
10public:
11 // member variables
12 // NOLINTBEGIN
14 // NOLINTEND
15
16#ifdef LL_PLAT_S
17public:
18 // prevent constructor by default
19 PrivateKeyManager& operator=(PrivateKeyManager const&);
20 PrivateKeyManager(PrivateKeyManager const&);
21 PrivateKeyManager();
22
23#else // LL_PLAT_C
24public:
25 // prevent constructor by default
26 PrivateKeyManager(PrivateKeyManager const&);
27 PrivateKeyManager();
28
29#endif
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual bool isValid() const /*override*/;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCNAPI explicit PrivateKeyManager(::Crypto::Asymmetric::System system);
40
41#ifdef LL_PLAT_S
42 MCNAPI PrivateKeyManager(
43 ::std::string const& publicKey,
44 ::std::string const& privateKey,
45 ::Crypto::Asymmetric::System system
46 );
47#endif
48
49 MCNAPI ::std::string computeSecret(::KeyManager const& peer) const;
50
51#ifdef LL_PLAT_C
52 MCNAPI ::PrivateKeyManager& operator=(::PrivateKeyManager const& rhs);
53#endif
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI void* $ctor(::Crypto::Asymmetric::System system);
60
61#ifdef LL_PLAT_S
62 MCNAPI void*
63 $ctor(::std::string const& publicKey, ::std::string const& privateKey, ::Crypto::Asymmetric::System system);
64#endif
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCNAPI bool $isValid() const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
static MCAPI void ** $vftable()
MCAPI PrivateKeyManager(::Crypto::Asymmetric::System system)
MCAPI void * $ctor(::Crypto::Asymmetric::System system)
MCAPI bool $isValid() const
MCAPI::std::string computeSecret(::KeyManager const &peer) const
Definition Alias.h:14