Files
U2FDevice/U2F_Register_APDU.hpp
Michael Kuc 48840ad36c Added resumable loading, along with signal handling.
This version can store state after receiving SIGINT.
This is achieved by polling FIFO read state;
2018-08-09 20:23:23 +00:00

17 lines
355 B
C++

#pragma once
#include "U2F_Msg_CMD.hpp"
#include "Storage.hpp"
struct U2F_Register_APDU : U2F_Msg_CMD
{
std::array<uint8_t, 32> challengeP;
Storage::AppParam appP;
Storage::KeyHandle keyH;
public:
U2F_Register_APDU(const U2F_Msg_CMD &msg, const std::vector<uint8_t> &data);
void respond(const uint32_t channelID) const override;
};