opensc/src/pkcs15init
ludovic.rousseau 10bf1fc8df Fix
pkcs15-oberthur.c:61: warning: redundant redeclaration of ‘cosm_delete_file’
pkcs15-oberthur.h:93: warning: previous declaration of ‘cosm_delete_file’ was here


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4159 c6295689-39f2-0310-b995-f0e70906c6a9
2010-03-28 11:46:06 +00:00
..
asepcos.profile
cardos.profile
cyberflex.profile cyberflex: no more 'protect-certificates' profile option 2010-02-20 23:20:38 +00:00
entersafe.profile
flex.profile pkcs15init cflex: fix protected initialisation 2010-03-04 13:37:11 +00:00
gpk.profile
incrypto34.profile
jcop.profile
Makefile.am oberthur pkcs15init: non-install header; join pkcs15-oberthur-awp.obj to object list for win32 2010-03-23 10:02:22 +00:00
Makefile.mak oberthur pkcs15init: sorry, fix 2010-03-23 10:03:05 +00:00
miocos.profile
muscle.profile
myeid.profile pkcs15init: instead of static keycache use the pincache as a content of the pkcs15 AUTH object 2010-02-21 18:24:41 +00:00
oberthur.profile oberthur pkcs15init: support for creation of the 'public' DATA objects 2010-03-22 14:17:27 +00:00
pkcs15-asepcos.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-cardos.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-cflex.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-entersafe.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-gpk.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-incrypto34.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-init.h pkcs15init: in pkcs15-init.h don't use parameters name in the function declarations 2010-03-18 09:49:49 +00:00
pkcs15-jcop.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-lib.c Fix 2010-03-28 09:45:54 +00:00
pkcs15-miocos.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-muscle.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-myeid.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-oberthur-awp.c Fix pkcs15-oberthur-awp.c:729: warning: no previous prototype for 2010-03-28 09:44:22 +00:00
pkcs15-oberthur.c Fix 2010-03-28 11:46:06 +00:00
pkcs15-oberthur.h oberthur pkcs15init: support for creation of the 'public' DATA objects 2010-03-22 14:17:27 +00:00
pkcs15-rtecp.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-rutoken.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-setcos.c cleanup of the debug code: 2010-03-15 12:17:13 +00:00
pkcs15-starcos.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-westcos.c Fix 2010-03-28 11:44:56 +00:00
pkcs15.profile
profile.c cleanup of the debug code: 2010-03-15 12:17:13 +00:00
profile.h pkcs15init: homegenize pin reference type in a different structures; remove unused parameters in the internal procedures; 2010-03-05 10:37:11 +00:00
README
rutoken_ecp.profile
rutoken.profile
setcos.profile
starcos.profile
westcos.profile


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

	Note that the pkcs12 file must use just one password - if you
	use different passwords for integrity and confidentiality,
	OpenSC will fail to import the keys.