Oops. I stand corrected. It looks like we "could" support this in Ruby:

http://ruby-doc.org/stdlib-2.0/libdoc/openssl/rdoc/OpenSSL/PKey/RSA.html