Class: OpenSSL::X509::Request
- Inherits:
-
Object
- Object
- OpenSSL::X509::Request
- Defined in:
- lib/openssl/x509/request.rb
Overview
Additional helper methods for CSRs.
Instance Method Summary collapse
-
#to_spki(_format = nil) ⇒ OpenSSL::X509::SPKI
Generate an OpenSSL::X509::SPKI structure for the public key in the CSR.
Instance Method Details
#to_spki(_format = nil) ⇒ OpenSSL::X509::SPKI
Generate an OpenSSL::X509::SPKI structure for the public key in the CSR.
14 15 16 |
# File 'lib/openssl/x509/request.rb', line 14 def to_spki(_format = nil) OpenSSL::X509::SPKI.new(self.public_key.to_der) end |