[jdk8u-dev] RFR: 8179503: Java should support GET OCSP calls [v2]
Alexey Pavlyutkin
duke at openjdk.org
Mon Jul 24 07:29:46 UTC 2023
On Tue, 6 Jun 2023 06:24:08 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:
>> Hi!
>>
>> I would like to backport **[JDK-8179503: Java should support GET OCSP calls](https://bugs.openjdk.org/browse/JDK-8179503)** for parity with Oracle JDK.
>>
>> Except the path suffling the following changes were done to original patch:
>>
>> **`jdk/src/share/classes/sun/security/provider/certpath/OCSP.java`**
>> - still reads the response piece by piece using `InputStream.read()` method because `IOUtils.readExactlyNBytes()` is not available
>>
>> **`jdk/test/java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java`**
>> - unsupported `List.of()`, `Set.of()`, `Map.of()` replaced with equivalents
>> - `algorithm` parameter dropped from instantiation `PKCS8EncodedKeySpec`
>>
>> **`jdk/test/javax/net/ssl/templates/SSLSocketTemplate.java`**
>> - required `public static enum SSLSocketTemplate.Cert` copied from `11u`
>>
>> Verification (amd64/20.04LTS): newly added `jdk/test/java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java`
>> Regression (amd64/20.04LTS): `jdk_security`
>
> Alexey Pavlyutkin has updated the pull request incrementally with one additional commit since the last revision:
>
> restore lost newlines at the end of files
Please don't close this, bot.
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/330#issuecomment-1647359271
More information about the jdk8u-dev
mailing list