API C/C++
HSM Dinamo
Loading...
Looking for...
No entries found
Structure Reference DN_SC_INFO

#include "dinamo.h"

Data Fields

BYTE pbATR[DN_SC_MAX_ATR_LEN]
 
int nATRSize
 
BYTE pbCSN1 [sizeof(DWORD)]
 
BYTE pbCSN2 [sizeof(DWORD)]
 
BYTE pbIRN [sizeof(DWORD)]
 
char szCardFamily[DN_SC_MAX_CARD_FAMILY_LEN]
 
char szCardProductName[DN_SC_MAX_CARD_PRODUCT_NAME_LEN]
 
char szCardOSVersion[DN_SC_MAX_CARD_OS_VERSION_LEN]
 
BYTE bCardProgramVersion
 
BYTE bCardChipVersion
 
BYTE bLockByte1
 
BYTE bLockByte2
 
BOOL bHasLegacyCard
 
BOOL bIsOEMKeyAvailable
 
BOOL bIsFormatted
 
BOOL bIsPINLocked
 
BOOL bHasPINInfo
 
BOOL bIsPINSMCOn
 
BYTE bPINMMPN
 
BYTE bPINSCR
 
BYTE bPINUCR
 
BYTE bPINCKS
 

Detailed description

Structure containing general information about the smart card. Used in DSCGetInfo().

Examples
sc_inspect.c.

Fields

pbATR

ATR (Answer to Reset).

nATRSize

int nATRSize

ATR size.

pbCSN1

BYTE pbCSN1[sizeof(DWORD)]

CSN1 (Card Serial Number).

pbCSN2

BYTE pbCSN2[sizeof(DWORD)]

CSN2 (Card Serial Number).

pbIRN

BYTE pbIRN[sizeof(DWORD)]

IRN (Issuer Reference Number).

szCardFamily

char szCardFamily[DN_SC_MAX_CARD_FAMILY_LEN]

Card family.

Examples
sc_inspect.c.

szCardProductName

char szCardProductName[DN_SC_MAX_CARD_PRODUCT_NAME_LEN]

Card product name.

Examples
sc_inspect.c.

szCardOSVersion

char szCardOSVersion[DN_SC_MAX_CARD_OS_VERSION_LEN]

Version of the card's operating system.

Examples
sc_inspect.c.

bCardProgramVersion

BYTE bCardProgramVersion

Version of the card program.

bCardChipVersion

BYTE bCardChipVersion

Card chip version.

bLockByte1

BYTE bLockByte1

Lock byte 1.

bLockByte2

BYTE bLockByte2

Lock byte 2. Must be equal to bLockByte1.

bHasLegacyCard

BOOL bHasLegacyCard

Indicates whether the card is legacy.

bIsOEMKeyAvailable

BOOL bIsOEMKeyAvailable

Indicates whether the OEM key is available.

bIsFormatted

BOOL bIsFormatted

Indicates whether the card is formatted.

bIsPINLocked

BOOL bIsPINLocked

Indicates whether the PIN is blocked.

bHasPINInfo

BOOL bHasPINInfo

Indicates whether PIN information is available.

bIsPINSMCOn

BOOL bIsPINSMCOn

Indicates whether the SMC (Secure Messaging for Confidentiality) PIN is on.

bPINMMPN

BYTE bPINMMPN

MMPN (Mode Maximum Presentation Number). Maximum number of incorrect PIN attempts.

bPINSCR

BYTE bPINSCR

SCR (Secret Code Ratification). Number of incorrect PIN attempts.

bPINUCR

BYTE bPINUCR

UCR (Unblock Code Reference).

bPINCKS

BYTE bPINCKS

CKS (Checksum).


The documentation for this structure was generated from the following file: