opensc/src/pkcs15init
aet 3dccd63989 - C++ support. Compiles with gcc/g++ for Linux, otherwise
completely untested.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@574 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 14:23:31 +00:00
..
.cvsignore Add .cvsignore 2002-04-02 13:43:37 +00:00
Makefile.am - pkcs15-init does not require openssl anymore 2002-04-15 13:42:10 +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
flex.profile - Added support for user-defined serial numbers in 2002-04-07 13:15:31 +00:00
gpk.profile - starting to support extractable keys 2002-04-17 20:47:18 +00:00
miocos.profile - Added certificate templates 2002-04-06 14:21:40 +00:00
pkcs15-cflex.c - C++ support. Compiles with gcc/g++ for Linux, otherwise 2002-04-19 14:23:31 +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 - C++ support. Compiles with gcc/g++ for Linux, otherwise 2002-04-19 14:23:31 +00:00
pkcs15-lib.c - C++ support. Compiles with gcc/g++ for Linux, otherwise 2002-04-19 14:23:31 +00:00
pkcs15-miocos.c - pkcs15-init does not require openssl anymore 2002-04-15 13:42:10 +00:00
pkcs15.profile - add pin descriptions 2002-04-08 09:27:48 +00:00
profile.c - pkcs15-init does not require openssl anymore 2002-04-15 13:42:10 +00:00
profile.h - C++ support. Compiles with gcc/g++ for Linux, otherwise 2002-04-19 14:23:31 +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