Re: RFR: 8252377: Incorrect encoding for EC AlgorithmIdentifier [v2]
On Fri, 25 Sep 2020 00:45:09 GMT, Weijun Wang wrote: >> Hai-May Chao has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Updated test case to use DerUtils > > src/java.base/share/classes/sun/security/x509/AlgorithmId.java line 214: > >> 212: || algid.equals(SHA512withECDSA_oid)) { >> 213: // RFC 4055 3.3: when an RSASSA-PSS key does not require >> 214: // parameter validation, field is absent. > > Would you like to add more comments on other RFCs here? Added the comments for RFC reference. - PR: https://git.openjdk.java.net/jdk/pull/312
Re: RFR: 8252377: Incorrect encoding for EC AlgorithmIdentifier [v2]
On Thu, 24 Sep 2020 23:49:08 GMT, Hai-May Chao wrote: >> This change fixes the DER encoding for ECDSA AlgorithmIdentifier to omit the >> parameters field instead of encoding a >> Null tag. > > Hai-May Chao has updated the pull request incrementally with one additional > commit since the last revision: > > Updated test case to use DerUtils src/java.base/share/classes/sun/security/x509/AlgorithmId.java line 214: > 212: || algid.equals(SHA512withECDSA_oid)) { > 213: // RFC 4055 3.3: when an RSASSA-PSS key does not require > 214: // parameter validation, field is absent. Would you like to add more comments on other RFCs here? - PR: https://git.openjdk.java.net/jdk/pull/312
Re: RFR: 8252377: Incorrect encoding for EC AlgorithmIdentifier [v2]
> This change fixes the DER encoding for ECDSA AlgorithmIdentifier to omit the > parameters field instead of encoding a > Null tag. Hai-May Chao has updated the pull request incrementally with one additional commit since the last revision: Updated test case to use DerUtils - Changes: - all: https://git.openjdk.java.net/jdk/pull/312/files - new: https://git.openjdk.java.net/jdk/pull/312/files/f52268a7..edc71d03 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk=312=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk=312=00-01 Stats: 189 lines in 1 file changed: 35 ins; 132 del; 22 mod Patch: https://git.openjdk.java.net/jdk/pull/312.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/312/head:pull/312 PR: https://git.openjdk.java.net/jdk/pull/312