At 03:05 AM 3/26/2010, Tomas Gustavsson wrote:
>You can set an alias by providing it using pkcs11 attributes through the 
>provider, but that alias is provider global (for all generated key pairs) 
>which is not very usable.

The work around for this is to open up the provider different times with 
different arguments.  Build the config file as a string, open the string as a 
stream and then provide it to sun.security.pkcs11.SunPKCS11 (InputStream).  A 
bit clumsy, but it does work.

Mike 

Reply via email to