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