/[pcsclite]/trunk/Drivers/ccid/examples/scardcontrol.c
ViewVC logotype

Log of /trunk/Drivers/ccid/examples/scardcontrol.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 1743 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 24 15:32:41 2005 UTC (7 years, 6 months ago) by rousseau
File length: 15915 byte(s)
Diff to previous 1742
my check if the applet is present was wrong

Revision 1742 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 24 15:26:41 2005 UTC (7 years, 6 months ago) by rousseau
File length: 15915 byte(s)
Diff to previous 1717
exit if the test applet is not found

Revision 1717 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 16 09:22:55 2005 UTC (7 years, 6 months ago) by rousseau
File length: 15793 byte(s)
Diff to previous 1716
Modify PIN: use a 4 digit PIN so we can test it using the test Java Card applet

Revision 1716 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 16 09:18:24 2005 UTC (7 years, 6 months ago) by rousseau
File length: 16201 byte(s)
Diff to previous 1715
Modify PIN: bInsertionOffsetOld and bInsertionOffsetNew starts from the
APDU data (5th byte) and not the APDU start (first byte)

Revision 1715 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 16 09:14:17 2005 UTC (7 years, 6 months ago) by rousseau
File length: 16201 byte(s)
Diff to previous 1714
add a modify PIN dump command

Revision 1714 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 16 09:12:09 2005 UTC (7 years, 6 months ago) by rousseau
File length: 15134 byte(s)
Diff to previous 1713
Modify PIN: add a comment for bNumberMessage

Revision 1713 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 16 09:11:10 2005 UTC (7 years, 6 months ago) by rousseau
File length: 15095 byte(s)
Diff to previous 1712
Modify PIN: use 0x03 for bNumberMessage since the GemPC Pinpad rejects
any other valu. The SPR 532 needs 0 here

Revision 1712 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 16 09:07:13 2005 UTC (7 years, 6 months ago) by rousseau
File length: 15095 byte(s)
Diff to previous 1711
verify PIN: use 0x01 for bNumberMessage for the GemPC Pinpad

Revision 1711 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 16 09:06:01 2005 UTC (7 years, 6 months ago) by rousseau
File length: 15095 byte(s)
Diff to previous 1691
verify PIN: use 0x02 (validation key pressed) for
bEntryValidationCondition as the GemPC Pinpad rejects any other values

Revision 1691 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 19 06:20:54 2005 UTC (7 years, 7 months ago) by rousseau
File length: 15095 byte(s)
Diff to previous 1676
declare offset, pin_verify and pin_modify variable only if needed

Revision 1676 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 26 14:43:51 2005 UTC (7 years, 8 months ago) by rousseau
File length: 14987 byte(s)
Diff to previous 1669
use the new HandlerTest applet commands

Revision 1669 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 20 07:05:04 2005 UTC (7 years, 8 months ago) by rousseau
File length: 13901 byte(s)
Diff to previous 1635
use HOST_TO_CCID_16/HOST_TO_CCID_32

Revision 1635 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 1 12:38:09 2005 UTC (7 years, 8 months ago) by rousseau
File length: 13855 byte(s)
Diff to previous 1634
also work with T=1 cards

Revision 1634 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 1 12:33:06 2005 UTC (7 years, 8 months ago) by rousseau
File length: 13581 byte(s)
Diff to previous 1631
debug modify PIN test code

Revision 1631 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 1 09:13:38 2005 UTC (7 years, 8 months ago) by rousseau
File length: 12782 byte(s)
Diff to previous 1558
add sample code to perform FEATURE_VERIFY_PIN_DIRECT and
FEATURE_MODIFY_PIN_DIRECT if the reader supports it

Revision 1558 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 15 12:55:20 2005 UTC (7 years, 11 months ago) by rousseau
File length: 9305 byte(s)
Diff to previous 1346
remove definition of SCARD_CTL_CODE and #include <PCSC/reader.h>

Revision 1346 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 23 13:19:23 2005 UTC (8 years, 3 months ago) by rousseau
File length: 9332 byte(s)
Diff to previous 1300
 #include <sys/time.h> instead of <time.h> to get correct definition of
struct timeval under Mac OS X

Revision 1300 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 9 21:27:41 2005 UTC (8 years, 4 months ago) by rousseau
File length: 9328 byte(s)
Diff to previous 1290
The APDU now comes _after_ the CCID structure as described the CCID
specifications.

Revision 1290 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 20 13:57:38 2004 UTC (8 years, 7 months ago) by rousseau
File length: 9327 byte(s)
Diff to previous 1289
set wPINMaxExtraDigit: set max to 8 (instead of 4) to differentiate it
from min (set to 4)

Revision 1289 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 20 13:56:25 2004 UTC (8 years, 7 months ago) by rousseau
File length: 9327 byte(s)
Diff to previous 1263
in wPINMaxExtraDigit the bytes order is max,min and not min,max.
The comments were wrong

Revision 1263 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 3 12:52:28 2004 UTC (8 years, 7 months ago) by rousseau
File length: 9327 byte(s)
Diff to previous 1067
add "THIS PROGRAM IS NOT DESIGNED AS A TESTING TOOL!

Revision 1067 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 08:45:21 2004 UTC (8 years, 10 months ago) by rousseau
File length: 9196 byte(s)
Diff to previous 1059
allow splint to continue parsing after use of type fd_set

Revision 1059 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 14:08:28 2004 UTC (8 years, 10 months ago) by rousseau
File length: 9170 byte(s)
Diff to previous 1014
explicitely cast the returned value as (void) if we don't use it

Revision 1014 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 30 14:47:30 2004 UTC (8 years, 10 months ago) by rousseau
File length: 9164 byte(s)
Diff to previous 972
correct a signedness issue

Revision 972 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 23 14:54:44 2004 UTC (8 years, 11 months ago) by rousseau
File length: 9155 byte(s)
Diff to previous 940
- send Select DF and Select EF APDU before Verify PIN
- read stdin (consume the "*" fake keys) if the pinpad is on a keyboard

Revision 940 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 13 16:59:13 2004 UTC (8 years, 11 months ago) by rousseau
File length: 7665 byte(s)
Diff to previous 903
use SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1 instead of SCARD_PROTOCOL_ANY
since it is not defined in Micosoft PC/SC

Revision 903 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 26 07:48:03 2004 UTC (9 years ago) by rousseau
File length: 7646 byte(s)
Diff to previous 900
remove useless bPINOperation

Revision 900 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 25 14:46:02 2004 UTC (9 years ago) by rousseau
File length: 7678 byte(s)
Diff to previous 892
add support for SCardGetAttrib(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..)
to know if the reader supports SCardControl(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..)

Revision 892 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 24 12:58:43 2004 UTC (9 years ago) by rousseau
File length: 7214 byte(s)
Diff to previous 889
recompile using gcc -pedantic and correct:
- some C++ syntax comments
- many signedness "problems"

Revision 889 - (view) (download) (annotate) - [select for diffs]
Added Mon May 24 09:56:16 2004 UTC (9 years ago) by rousseau
File length: 7214 byte(s)
add examples for SCardControl IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE and
IOCTL_SMARTCARD_VENDOR_VERIFY_PIN

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5