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/Encoding.h"
7#include "mc/deps/crypto/ThumbprintFormat.h"
8#include "mc/deps/crypto/hash/HashType.h"
9
10namespace Crypto::Certificate {
11
13public:
14 // virtual functions
15 // NOLINTBEGIN
16 virtual ~ISystemInterface() = default;
17
18 virtual ::std::string serialize(::Crypto::Certificate::Encoding) const = 0;
19
20 virtual ::std::string extractPublicKey(::Crypto::Certificate::Encoding) const = 0;
21
22 virtual ::std::string extractPrivateKey(::Crypto::Certificate::Encoding) const = 0;
23
24 virtual ::std::string getIssuer() const = 0;
25
26 virtual bool hasValidCertChain() const = 0;
27
28 virtual ::std::string
29 generateCertificateThumbprint(::Crypto::Hash::HashType, ::Crypto::Certificate::ThumbprintFormat) const = 0;
30
31 virtual ::std::string
32 generatePublicKeyThumbprint(::Crypto::Hash::HashType, ::Crypto::Certificate::ThumbprintFormat) const = 0;
33 // NOLINTEND
34
35public:
36 // virtual function thunks
37 // NOLINTBEGIN
38
39 // NOLINTEND
40};
41
42} // namespace Crypto::Certificate
Definition ISystemInterface.h:12