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

Michael Osipov duke at openjdk.java.net
Thu Feb 17 19:46:19 UTC 2022


On Tue, 15 Feb 2022 15:55:50 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Correct, but they don't swallow at least.
>
> But in this case, we still have a place to provide the raw bytes. Maybe that's better? Or you'd rather be guaranteed that one particular otherName should always have a string there and there's no need to do an `instanceof` check? What if the tag is already wrong and I don't know it should be a string?

@wangweij So you have selected to really swallow the exception here?

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

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



More information about the security-dev mailing list