RFR: 8365069: Refactor tests to use PEM API (Phase 1)

Koushik Muthukrishnan Thirupattur duke at openjdk.org
Mon Sep 29 18:13:32 UTC 2025


The following tests have been identified as candidates for phase 1 of this change.
2. test/jdk/javax/net/ssl/TLSCommon/TLSTest.java
3. test/jdk/sun/security/provider/certpath/DisabledAlgorithms/CPBuilder.java
4. test/jdk/sun/security/provider/certpath/DisabledAlgorithms/CPBuilderWithMD5.java
5. test/jdk/sun/security/provider/certpath/DisabledAlgorithms/CPValidatorEndEntity.java
9. test/jdk/sun/security/provider/certpath/DisabledAlgorithms/CPValidatorIntermediate.java
10. test/jdk/sun/security/ssl/X509TrustManagerImpl/PKIXExtendedTM.java
11. test/jdk/sun/security/ssl/X509TrustManagerImpl/SunX509ExtendedTM.java
13. test/jdk/java/security/cert/CertPathBuilder/selfIssued/KeyUsageMatters.java
16. test/jdk/java/security/cert/CertPathBuilder/selfIssued/DisableRevocation.java
17. test/jdk/java/security/cert/CertPathValidator/indirectCRL/CircularCRLOneLevel.java
18. test/jdk/java/security/cert/CertPathValidator/indirectCRL/CircularCRLOneLevelRevoked.java
20. test/jdk/java/security/KeyStore/PKCS12/WriteP12Test.java
21. test/jdk/java/security/cert/CertPathValidator/OCSP/FailoverToCRL.java
22. test/jdk/java/security/cert/CertPathValidator/nameConstraints/NameConstraintsWithRID.java
23. test/jdk/java/security/cert/CertPathValidator/nameConstraints/NameConstraintsWithUnexpectedRID.java
24. test/jdk/java/security/cert/CertPathValidator/nameConstraints/NameConstraintsWithoutRID.java
25. test/jdk/java/security/cert/CertPathValidator/trustAnchor/ValWithAnchorByName.java
30. test/jdk/java/security/KeyStore/TestKeyStoreBasic.java

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

Commit messages:
 - 8365069: Refactor tests to use PEM API (Phase 1)
 - 8365069: Refactor tests to use PEM API (Phase 1)
 - 8365069: Refactor tests to use PEM API (Phase 1)

Changes: https://git.openjdk.org/jdk/pull/27267/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27267&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365069
  Stats: 514 lines in 18 files changed: 104 ins; 190 del; 220 mod
  Patch: https://git.openjdk.org/jdk/pull/27267.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27267/head:pull/27267

PR: https://git.openjdk.org/jdk/pull/27267


More information about the security-dev mailing list