RFR: 8277976: Break up SEQUENCE in X509Certificate::getSubjectAlternativeNames and X509Certificate::getIssuerAlternativeNames in otherName [v9]

Weijun Wang weijun at openjdk.java.net
Mon Feb 28 17:03:59 UTC 2022


On Fri, 18 Feb 2022 20:05:46 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> The enhancement adds two extra items in the `getSubjectAlternativeNames()` output for an OtherName.
>> 
>> It also fix several errors:
>> 1. In `OtherName.java`, `nameValue` should be the value inside `CONTEXT [0]` without the tag and length bytes.
>> 2. The argument in constructor `extClass.getConstructor(Object.class)` is suspicious. Maybe it meant `byte[]`.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   make exception message clearer

I haven't logged the IOException. When this (otherName with a char string value but 4th entry is not string) happens, this is the only reason.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7167



More information about the security-dev mailing list