~/talk

OpenSSL and QUIC using FFM

Talkat Community Over Code EU 2024 · 2024-06-03..06-05· [security, web-platform]
links:none on file
links:none on file
slides:none on file

Shows how Java 22 Foreign Function & Memory API plus Jextract generated bindings replace JNI boilerplate to call OpenSSL through JSSE inside Apache Tomcat, removing tomcat-native and simplifying callbacks and cleanup via arena-tied memory segments. Implementation supports TLS 1.3 including post‑handshake auth, works with OpenSSL 1.1+ via JSSE without tomcat-native, and matches Tomcat‑native performance with extra safety checks. Experimental QUIC via OpenSSL 3.3+ is implemented at API level but stalls on non‑blocking socket polling, so QUIC isn’t ready for production.

AI-written summary · about

  1. 0:00Introduction to FFM
  2. 3:21FFM basics and memory segments
  3. 6:30Down calls with OpenSSL example
  4. 8:58Up calls and callbacks
  5. 13:13JExtract tool for boilerplate
  6. 19:39Tomcat integration with FFM
  7. 24:56QUIC support and future plans
  8. 26:59Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.