JRuby's Ruby-OSSL implementation (extracted from jruby/jruby and re-merged with jruby/jruby-ossl)