Example code:
Secmod secmod = Secmod.getInstance(); if (secmod.isInitialized() == false) { secmod.initialize("/home/myself/.mozilla", "/usr/sfw/lib/mozilla"); } Provider p = secmod.getModule(ModuleType.KEYSTORE).getProvider(); KeyStore ks = KeyStore.getInstance("PKCS11", p); ks.load(null, password);@since 1.6 @author Andreas Sterbenz
|
|
|
|
|
|