JEP260 -- Impact on SunPKCS11?

Wang Weijun weijun.wang at oracle.com
Tue Nov 17 01:00:07 UTC 2015


> On Nov 16, 2015, at 11:46 PM, Sean Mullan <sean.mullan at oracle.com> 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.

--Max




More information about the security-dev mailing list