Table of Contents

Smart cards info

JavaCard applet compilation (NetBeans, JC2.2.2, Java SDK 1.3)

GPShell documentation and usable scripts

Tutorial preparation (Europen 2011)

JCOP Tools

Mifare cards

CesTa project

Various links

Handy smart card tools

PKCS#11/PKCS#15 with JavaCard on Windows

Applet preparation

opensc-tool -s 00:A4:04:00:06:A0:00:00:00:01:01 -s B0:2A:00:00:38:08:4D:75:73:63:6C:65:30:30:04:01:08:30:30:30:30:30:30:30:30:08:30:30:30:30:30:30:30:30:05:02:08:30:30:30:30:30:30:30:30:08:30:30:30:30:30:30:30:30:00:00:17:70:00:02:01

PKCS#11 setup

PKCS#15 setup

Debugging communication with MuscleApplet

Other useful info:

Generate self-signed X.509 certificates with OpenSSL

Import self-signed X.509 certificate to Mozilla Thunderbird

Truebleshooting

Removing self-signed X.509 certificate from Mozilla Thunderbird

Enabling email encryption/sign in MS Outlook with X.509 certificates

PKCS#11 token in Windows Vista/7 and higher

Writing Microsoft Smart card minidriver

Regular expression to match:
DWORD
WINAPI
([a-zA-Z0-9_]*?)\(
([. _a-zA-Z0-9*,()].*?)\);

Regular expression to replace:
DWORD
WINAPI
\1(
\2) {
  AFX_MANAGE_STATE(AfxGetStaticModuleState());
  return -1;
}