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

Weijun Wang weijun at openjdk.java.net
Tue Feb 15 19:51:57 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:

  retell the formats

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7167/files
  - new: https://git.openjdk.java.net/jdk/pull/7167/files/1086d540..a610bc5d

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

  Stats: 22 lines in 3 files changed: 2 ins; 5 del; 15 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