lib/sepa/utilities.rb
def cert_request_valid?(cert_request)
      begin
        OpenSSL::X509::Request.new cert_request
      rescue
        return false
      end

      true
    end
# Checks whether a certificate signing request is valid
#
# @param cert_request [#to_s] the certificate signing request
# @return [true] if the certificate signing request is valid
# @return [false] if the certificate signing request is not valid
# @todo rename
Checks whether a certificate signing request is valid
Checks whether a certificate signing request is valid
def cert_request_valid?(cert_request)
      begin
        OpenSSL::X509::Request.new cert_request
      rescue
        return false
      end
      true
    end
def cert_request_valid? ( cert_request ) begin OpenSSL :: X509 :: Request . new cert_request rescue return false end true end
Checks whether a certificate signing request is valid
Checks whether a certificate signing request is valid
if the certificate signing request is valid
if the certificate signing request is valid
true
if the certificate signing request is not valid
if the certificate signing request is not valid
false
cert_request
the certificate signing request
the certificate signing request
todo
None