Portuguese eID Middleware SDK
Version: 3.12.0
|
#include <eidlib.h>
Public Member Functions | |
PTEIDSDK_API PTEID_SigningDevice & | getSigningDevice (bool allowCC=true, bool allowCMD=true) |
Static Public Member Functions | |
static PTEIDSDK_API PTEID_SigningDeviceFactory & | instance () |
Singleton class - Factory used to obtain signing devices. Optionally, opens a dialog to let user choose signing device type.
PTEIDSDK_API PTEID_SigningDevice& eIDMW::PTEID_SigningDeviceFactory::getSigningDevice | ( | bool | allowCC = true , |
bool | allowCMD = true |
||
) |
Obtain a signing device.
At least one of the parameters must be true. Otherwise, PTEID_ExBadUsage is thrown. If multiple types were allowed, this method opens a dialog to choose the signing device type.
allowCC | allow to retrieve handle to PTEID_EIDCard |
allowCMD | allow to retrieve handle to PTEID_CMDSignatureDevice |
|
static |
Return the singleton object