RFR: 8358171: Additional code coverage for PEM API [v3]

Anthony Scarpino ascarpino at openjdk.org
Thu Jun 5 01:55:56 UTC 2025


On Wed, 4 Jun 2025 16:49:11 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

>> The tests included in this PR add code coverage mainly to the following classes introduced/updated by JEP 470 (PEM): PEMDecoder, PEMEncoder, Pem, EncryptedPrivateKeyInfo and the Key factories. In addition, more tests are included for RSAPSS, multithreading, _jdk.epkcs8.defaultAlgorithm_ property and some negative testing
>
> Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:
> 
>   add invalid PEM content test

test/jdk/java/security/PEM/PEMData.java line 500:

> 498:         }
> 499:         Entry(String name, String pem, Class clazz, String provider, char[] password) {
> 500:             this(name, pem, clazz,provider, password, null);

nit:  no space after comma

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25588#discussion_r2127792563


More information about the security-dev mailing list