 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Tim Ward Guest
|
Posted: Fri Jun 02, 2006 1:10 pm Post subject: SunPKCS11 |
|
|
Is there any documentation of this anywhere? - all I can find is:
String configName = "/opt/bar/cfg/pkcs11.cfg";
Provider p = new sun.security.pkcs11.SunPKCS11(configName);
which is fine if the configuration file is a separate disk file but suffers
from the usual problem if the configuration information has to be packaged
in the application .jar.
How do I set up and configure a SunPKCS11 provider without the hassle of
deploying and locating a separate disk file?
Oh, and when it says:
=================
library
pathname of PKCS#11 implementation
This is the full pathname (including extension) of the PKCS#11
implementation; the format of the pathname is platform dependent. For
example, /opt/foo/lib/libpkcs11.so might be the pathname of a PKCS#11
implementation on Solaris and Linux while C:\foo\mypkcs11.dll might be one
on Windows.
=================
I hope it's lying and that the full pathname is not required and that
"xxx.dll" will do fine if the DLL is in the Windows system directory? Or do
I really have to write some code to ask Java where the Windows system
directory is and build the pathname?
--
Tim Ward
Brett Ward Limited - www.brettward.co.uk |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|