opensc/src/pkcs15init
okir 3b16e35af1 - rewrote parser to use Antti's scconf
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@427 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:52:30 +00:00
..
.cvsignore Add .cvsignore 2002-04-02 13:43:37 +00:00
Makefile.am Generate src/pkcs15init/Makefile 2002-04-02 13:38:57 +00:00
README - rewrite of the pkcs15-init stuff 2002-04-02 13:26:42 +00:00
TODO - rewrite of the pkcs15-init stuff 2002-04-02 13:26:42 +00:00
flex.profile - rewrite of the pkcs15-init stuff 2002-04-02 13:26:42 +00:00
gpk.profile - rewrite of the pkcs15-init stuff 2002-04-02 13:26:42 +00:00
miocos.profile - rewrite of the pkcs15-init stuff 2002-04-02 13:26:42 +00:00
pkcs15-cflex.c - rewrite of the pkcs15-init stuff 2002-04-02 13:26:42 +00:00
pkcs15-gpk.c - rewrote parser to use Antti's scconf 2002-04-03 11:52:30 +00:00
pkcs15-init.h pkcs15-gpk.c 2002-04-02 14:45:55 +00:00
pkcs15-lib.c - rewrote parser to use Antti's scconf 2002-04-03 11:52:30 +00:00
pkcs15-miocos.c - rewrite of the pkcs15-init stuff 2002-04-02 13:26:42 +00:00
pkcs15.profile - rewrite of the pkcs15-init stuff 2002-04-02 13:26:42 +00:00
profile.c - rewrote parser to use Antti's scconf 2002-04-03 11:52:30 +00:00
profile.h - rewrote parser to use Antti's scconf 2002-04-03 11:52:30 +00:00

README


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