Method: Trocla::Formats::X509#render
- Defined in:
- lib/trocla/formats/x509.rb
#render(output, render_options = {}) ⇒ Object
95 96 97 98 99 100 101 102 103 |
# File 'lib/trocla/formats/x509.rb', line 95 def render(output,={}) if ['keyonly'] OpenSSL::PKey::RSA.new(output).to_pem elsif ['certonly'] OpenSSL::X509::Certificate.new(output).to_pem else super(output,) end end |