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

Weijun Wang weijun at openjdk.java.net
Fri Feb 18 20:05:46 UTC 2022


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7167/files
  - new: https://git.openjdk.java.net/jdk/pull/7167/files/5043812c..96b6b7ea

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7167&range=08
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7167&range=07-08

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7167.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7167/head:pull/7167

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



More information about the security-dev mailing list