mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-07 16:59:41 +00:00
Move dependencies to the top level.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include <bitset>
|
||||
#include <tc/types.h>
|
||||
#include <brd/es/es_sign.h>
|
||||
|
||||
namespace ntd { namespace n3ds { namespace es {
|
||||
|
||||
class ISigner
|
||||
{
|
||||
public:
|
||||
virtual ~ISigner() = default;
|
||||
virtual const std::string& getIssuer() = 0;
|
||||
virtual brd::es::ESSigType getSigType() = 0;
|
||||
virtual bool signHash(const byte_t* hash, byte_t* signature) = 0;
|
||||
virtual bool verifyHash(const byte_t* hash, const byte_t* signature) = 0;
|
||||
};
|
||||
|
||||
}}} // namespace ntd::n3ds::es
|
||||
Reference in New Issue
Block a user