opensc/src/pkcs15init
2002-06-04 20:06:33 +00:00
..
.cvsignore Add .cvsignore 2002-04-02 13:43:37 +00:00
flex.profile - Added support for extractable keys on the Cryptoflex 2002-04-19 17:02:15 +00:00
gpk.profile - starting to support extractable keys 2002-04-17 20:47:18 +00:00
Makefile.am - added some eToken code (not functional yet) 2002-06-04 08:51:03 +00:00
miocos.profile - Small update to MioCOS pkcs15init driver 2002-04-19 18:01:49 +00:00
pkcs15-cflex.c - Added support for extractable keys on the Cryptoflex 2002-04-19 17:02:15 +00:00
pkcs15-etoken.c - setting an SO pin works now 2002-06-04 20:06:33 +00:00
pkcs15-gpk.c - C++ support. Compiles with gcc/g++ for Linux, otherwise 2002-04-19 14:23:31 +00:00
pkcs15-init.h - added some eToken code (not functional yet) 2002-06-04 08:51:03 +00:00
pkcs15-lib.c - fixed bad return value in do_init_app 2002-06-04 19:42:50 +00:00
pkcs15-miocos.c - Small update to MioCOS pkcs15init driver 2002-04-19 18:01:49 +00:00
pkcs15.profile - add pin descriptions 2002-04-08 09:27:48 +00:00
profile.c - Fixed parsing of AUT keys in pkcs15init (patch by Jochen 2002-05-21 19:41:09 +00:00
profile.h - C++ support. Compiles with gcc/g++ for Linux, otherwise 2002-04-19 14:23:31 +00:00
README - rewrite of the pkcs15-init stuff 2002-04-02 13:26:42 +00:00
TODO - updated TODO list 2002-04-03 11:57:58 +00:00


Very brief instructions

To init card:

Erase card and create pkcs15 dir
	./pkcs15-init -EC

Store a PIN on the card, using ID 01
	./pkcs15-init -P  --auth-id 01 --pin aaaa --puk bbbb --label "My PIN"

Generate a 512 bit RSA key and store on card, protected by the above PIN
	./pkcs15-init -G rsa/512 --auth-id 01

Or, store a pkcs12 key/certificate pair
	./pkcs15-init --auth-id 01 -f pkcs12 -S mycert.p12