Add pem-api module: PEMDecoder/PEMEncoder (JEP 538 preview on JDK 27, JEP 542 final in JDK 28) for JWT keys, TLS, encrypted keys and BouncyCastle migration

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CifR2BE7PBvRy5hT8TS9oz
This commit is contained in:
2026-10-26 01:50:05 +00:00
co-authored by Claude Sonnet 5.5
parent c3cc57f482
commit 2e25042a68
34 changed files with 895 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
$ javac src/{Fx,RoundTrip,JwtSigning,TlsFromPem,EncryptedKeys,Failures}.java (no flags) (28-ea+21-1707)
exit=0
$ java RoundTrip (no flags)
exit=0
output identical to the JDK 27 run
$ java JwtSigning (no flags)
exit=0
output identical to the JDK 27 run
$ java TlsFromPem (no flags)
exit=0
output identical to the JDK 27 run
$ java EncryptedKeys (no flags)
exit=0
output identical to the JDK 27 run
$ java Failures (no flags)
exit=0
output identical to the JDK 27 run