RFR: 8277976: Break up SEQUENCE in X509Certiticate::getSubjectAlternativeNames and X509Certiticate::getIssuerAlternativeNames in otherName [v2]

Weijun Wang weijun at openjdk.java.net
Thu Feb 10 21:14:18 UTC 2022


On Thu, 10 Feb 2022 16:47:55 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:
> 
>   wording, title

Your words are more precise. A reader should check the size first. A new commit pushed and the CSR is also updated.

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

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


More information about the security-dev mailing list