On 11/16/2015 08:00 PM, Wang Weijun wrote:
On Nov 16, 2015, at 11:46 PM, Sean Mullan <[email protected]> wrote: Provider p = Security.getProvider("SunPKCS11"); p.configure("/opt/bar/cfg/pkcs11.cfg");p = p.configure("/opt/bar/cfg/pkcs11.cfg"); The spec for the method says: * Apply the supplied configuration argument to this provider instance * and return the configured provider. Note that if this provider cannot * be configured in-place, a new provider will be created and returned. * Therefore, callers should always use the returned provider.
Yes, thanks for the correction. --Sean
