LeviLamina
Loading...
Searching...
No Matches
NullSSLInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/crypto/Padding.h"
7#include "mc/deps/crypto/PrivateKeySigningFormat.h"
8#include "mc/deps/crypto/PubKeyFormat.h"
9#include "mc/deps/crypto/asymmetric/system/ISystemInterface.h"
10#include "mc/deps/crypto/hash/HashType.h"
11
12namespace Crypto::Asymmetric {
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 // vIndex: 0
19 virtual ~NullSSLInterface() /*override*/ = default;
20
21 // vIndex: 1
22 virtual bool generateKeyPair(::std::string&, ::std::string&) /*override*/;
23
24 // vIndex: 2
25 virtual bool constructPublicKey(::std::string const&, ::std::string const&, ::std::string&) /*override*/;
26
27 // vIndex: 3
28 virtual ::std::string encryptData(
29 ::std::string const&,
30 ::std::string const&,
31 ::Crypto::Asymmetric::Padding,
32 ::Crypto::Asymmetric::PubKeyFormat,
33 bool
34 ) /*override*/;
35
36 // vIndex: 4
37 virtual ::std::string
38 decryptData(::std::string const&, ::std::string const&, ::Crypto::Asymmetric::Padding) /*override*/;
39
40 // vIndex: 5
41 virtual ::std::string signData(
42 ::std::string const&,
43 ::std::string const&,
44 ::Crypto::Hash::HashType,
45 ::Crypto::Asymmetric::PrivateKeySigningFormat
46 ) /*override*/;
47
48 // vIndex: 6
49 virtual bool
50 verifyData(::std::string const&, ::std::string const&, ::std::string const&, ::Crypto::Hash::HashType) /*override*/;
51
52 // vIndex: 7
53 virtual ::std::string computeSharedSecret(::std::string const&, ::std::string const&) /*override*/;
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59
60 // NOLINTEND
61};
62
63} // namespace Crypto::Asymmetric
Definition ISystemInterface.h:13
Definition NullSSLInterface.h:14