Dear PC/SC-experts!

I'm using PC/SC under WIndows so this question is a little off-topic. But my
impression is that the real PC/SC-experts are on this list, so maybe you can
help me.

I built a smartcard-application under WIndows that uses secure PIN-entry
with the following readers:

- all sorts of Kobil serial readers
- Cardman 3620 serial and USB
- Cherry keyboard serial
- Dell keyboard SK-3106

For each of these readers I'm using

SCardControl(card, SCARD_CTL_CODE(scode), ibuf, il, .....

with some reader-specific values for scode and ibuf. It wasn't easy to find
these numbers but now I'm stuck.

I just orederd 50 Dell smart card keyboards wich are supposed to contain the
same reader than the old Dell SK-3106. But the values for scaode and ibuf
don't work any more and nobody knows what values are needed.

Do you have any idea where I can find that information??? Your CCID-driver
seem to support both Dell keyboards.

Here's what I'm using for the Dell SK-3106

scode=2058
il=0;
ibuf[il++]=0x00; // CLA
ibuf[il++]=0x20; // INS verify
ibuf[il++]=0x00; // P1  
ibuf[il++]=pref; // P2
ibuf[il++]=6;    // Lc
ibuf[il++]=0;    // Padding
ibuf[il++]=0;    // Padding
ibuf[il++]=0;    // Padding
ibuf[il++]=0;    // Padding
ibuf[il++]=0;    // Padding
ibuf[il++]=0;    // Padding
ibuf[il++]=WAIT; // VERIF_PIN_PARAM: bTimeOut
ibuf[il++]=0x82; // VERIF_PIN_PARAM: bmFormatString 1.0000.0.10
ibuf[il++]=0x06; // VERIF_PIN_PARAM: bmPINBlockString 0.6
ibuf[il++]=0x10; // VERIF_PIN_PARAM: bmPINLengthFormat 000.1.0000
ibuf[il++]=0;    // VERIF_PIN_PARAM: wPINMaxExtraDigit
ibuf[il++]=6;
ibuf[il++]=0x02; // VERIF_PIN_PARAM: bEntryValidationCondition
ibuf[il++]=0x00; // VERIF_PIN_PARAM: bNumberMessage
ibuf[il++]=0x04; // VERIF_PIN_PARAM: wLangID
ibuf[il++]=0x09;
ibuf[il++]=0x00; // VERIF_PIN_PARAM: bMsgIndex

Peter Koch

-- 
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to