#include "dinamo.h"
Structure containing general information about the smart card. Used in DSCGetInfo().
BYTE pbATR[DN_SC_MAX_ATR_LEN] |
ATR (Answer to Reset).
int nATRSize |
ATR size.
char szCardFamily[DN_SC_MAX_CARD_FAMILY_LEN] |
Card family.
char szCardProductName[DN_SC_MAX_CARD_PRODUCT_NAME_LEN] |
Card product name.
char szCardOSVersion[DN_SC_MAX_CARD_OS_VERSION_LEN] |
Version of the card's operating system.
BYTE bCardProgramVersion |
Version of the card program.
BYTE bCardChipVersion |
Card chip version.
BYTE bLockByte1 |
Lock byte 1.
BYTE bLockByte2 |
Lock byte 2. Must be equal to bLockByte1.
BOOL bHasLegacyCard |
Indicates whether the card is legacy.
BOOL bIsOEMKeyAvailable |
Indicates whether the OEM key is available.
BOOL bIsFormatted |
Indicates whether the card is formatted.
BOOL bIsPINLocked |
Indicates whether the PIN is blocked.
BOOL bHasPINInfo |
Indicates whether PIN information is available.
BOOL bIsPINSMCOn |
Indicates whether the SMC (Secure Messaging for Confidentiality) PIN is on.
BYTE bPINMMPN |
MMPN (Mode Maximum Presentation Number). Maximum number of incorrect PIN attempts.
BYTE bPINSCR |
SCR (Secret Code Ratification). Number of incorrect PIN attempts.
BYTE bPINUCR |
UCR (Unblock Code Reference).
BYTE bPINCKS |
CKS (Checksum).