The alpn callbacks have been part of CRuby since 2.3
http://ruby-doc.org/stdlib-2.3.0_preview1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html
- alpn_protocols=
- alpn_select_cb
Previously, in ruby 2.2, npn_protocols callbacks had been possible to define on the ssl context. I also don't see them, so I assume that they're also missing from the jruby-openssl version shipping with the correspondent jruby 9000 distro.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.