Class desfire::protocol_dummy
Defined in File protocol.hpp
Inheritance Relationships
Base Type
public desfire::protocol
(Class desfire::protocol)
Class Documentation
-
class protocol_dummy : public desfire::protocol
A dummy protocol, used only in test and in unauthenticated context, which supports only plain text communication.
Public Functions
-
inline virtual void prepare_tx(bin_data&, std::size_t, comm_mode mode) override
Tests whether
mode
is comm_mode::plain, and does not do anything else.
-
inline virtual bool confirm_rx(bin_data&, comm_mode mode) override
Tests whether
mode
is comm_mode::plain, and does not do anything else.
-
inline virtual void init_session(bin_data const&) override
Does nothing.
-
virtual bool is_legacy() const override
Yes it is.
-
inline virtual void prepare_tx(bin_data&, std::size_t, comm_mode mode) override