JEP260 -- Impact on SunPKCS11?

Sean Mullan sean.mullan at oracle.com
Tue Nov 17 14:15:22 UTC 2015


On 11/16/2015 08:00 PM, Wang Weijun wrote:
>
>> 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.

Yes, thanks for the correction.

--Sean



More information about the security-dev mailing list