lib/sepa/banks/danske/danske_response.rb
def ca_certificate
      return unless [:create_certificate, :renew_certificate].include?(@command)

      @ca_certificate ||= extract_cert(doc, 'CACert', DANSKE_PKI)
    end
# Returns the CA certificate that has been used to sign own signing and encryption certificates.
# Only present in `:create_certificate` & `:renew_certificate` responses
#
# @return [OpenSSL::X509::Certificate] if {#command} is `:create_certificate` or `:renew_certificate`
# @return [nil] if command is any other
Returns the CA certificate that has been used to sign own signing and encryption certificates.
Only present in `:create_certificate` & `:renew_certificate` responses
Returns the CA certificate that has been used to sign own signing and encryption certificates . Only present in ` : create_certificate ` & ` : renew_certificate ` responses
def ca_certificate
      return unless [:create_certificate, :renew_certificate].include?(@command)
      @ca_certificate ||= extract_cert(doc, 'CACert', DANSKE_PKI)
    end
def ca_certificate return unless [ :create_certificate , :renew_certificate ] . include? ( @command ) @ca_certificate ||= extract_cert ( doc , 'CACert' , DANSKE_PKI ) end
Returns the CA certificate that has been used to sign own signing and encryption certificates.
Returns the CA certificate that has been used to sign own signing and encryption certificates .
if {#command} is `:create_certificate` or `:renew_certificate`
if { #command } is ` : create_certificate ` or ` : renew_certificate `
OpenSSL::X509::Certificate
if command is any other
if command is any other
nil