8172529: Use PKIXValidator in jarsigner
Xuelei Fan
xuelei.fan at oracle.com
Mon Jan 16 17:26:07 UTC 2017
On 1/15/2017 5:42 PM, Weijun Wang wrote:
> Sorry, wrong subject, resending.
>
> On 01/16/2017 09:41 AM, Weijun Wang wrote:
>> Please review the code change at
>>
>> http://cr.openjdk.java.net/~weijun/8172529/webrev.02
>>
>> The validator is updated to be a PKIXValidator of the
>> Validator.VAR_CODE_SIGNING variant.
What's the variant used by plugin? Is it VAR_PLUGIN_CODE_SIGNING? I'm
asking because the behaviors of VAR_PLUGIN_CODE_SIGNING and
VAR_CODE_SIGNING is a little bit different (See the use of
PKIXValidator.plugin variable).
Xuelei
>> In order to have the same output
>> message and exit code as before, the ValidatorException thrown when
>> validation fails is suppressed when there are existing error flags for
>> several reasons.
>>
>> *jigsaw-dev*: The following change is made in java.base/module-info.java:
>>
>> + exports sun.security.validator to
>> + jdk.jartool;
>>
>> Thanks
>> Max
More information about the security-dev
mailing list