|
SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
|
SmartCard Win32 SICAK CharDevice plugin. More...
#include <smartcard.h>


Public Member Functions | |
| virtual QString | getPluginName () override |
| Plugin name. | |
| virtual QString | getPluginInfo () override |
| Plugin info. | |
| virtual void | init (const char *filename, int baudrate=9600, int parity=0, int stopBits=1) override |
| filename is card reader ID, other params are ignored | |
| virtual void | deInit () override |
| Deinitialize the plugin. | |
| virtual QString | queryDevices () override |
| Query available devices/filenames. | |
| virtual void | setTimeout (int ms=5000) override |
| setting timeout is not supported, no-op | |
| virtual size_t | send (const VectorType< uint8_t > &data) override |
| The Vector/buffer must contain a valid APDU message. Given the SmartCard nature, the function blocks until a response is received back. | |
| virtual size_t | receive (VectorType< uint8_t > &data) override |
| Response to the previously sent APDU message is stored in data, including status word. | |
| virtual size_t | send (const VectorType< uint8_t > &data, size_t len) override |
| The Vector/buffer must contain a valid APDU message. Given the SmartCard nature, the function blocks until a response is received back. | |
| virtual size_t | receive (VectorType< uint8_t > &data, size_t len) override |
| Response to the previously sent APDU message is stored in data, including status word. | |
| virtual size_t | send (const uint8_t *buffer, size_t len) override |
| The Vector/buffer must contain a valid APDU message. Given the SmartCard nature, the function blocks until a response is received back. | |
| virtual size_t | receive (uint8_t *buffer, size_t len) override |
| Response to the previously sent APDU message is stored in data, including status word. | |
Protected Attributes | |
| bool | m_initialized |
| Vector< uint8_t > | m_recvBuf |
| size_t | m_recvBufLen |
Additional Inherited Members |
SmartCard Win32 SICAK CharDevice plugin.
1.8.15