PKCS#11 pin initialization

How to initialize smartcard's pin number using Sun PKCS#11 implementation ?How to personalize smartcard (generate keys and load certificate) using Sun PKCS#11 implementation ?
[190 byte] By [Marcin_Cinika] at [2007-10-1 20:49:58]
# 1

You need to use a token initialization application to initialize the PIN. The Java APIs don't support this functionality.

As far as storing keys and certs on the token, you can try using the java.security.KeyStore API. The PKCS#11 documentation should also be helpful:

http://java.sun.com/j2se/1.5.0/docs/guide/security/p11guide.html

charlie.laia at 2007-7-13 2:47:50 > top of Java-index,Security,Other Security APIs, Tools, and Issues...