lib/sepa/banks/danske/danske_response.rb
# Returns the bank's signing certificate which is used by the bank to sign the responses. The
# certificate is only present in `:get_bank_certificate` responses
#
# @return [OpenSSL::X509::Certificate] if {#command} is `:get_bank_certificate`
# @return [nil] if {#command} is any other
Returns the bank's signing certificate which is used by the bank to sign the responses. The
certificate is only present in `:get_bank_certificate` responses
Returns the bank ' s signing certificate which is used by the bank to sign the responses . The certificate is only present in ` : get_bank_certificate ` responses
def bank_signing_certificate
      return unless @command == :get_bank_certificate
      @bank_signing_certificate ||= extract_cert(doc, 'BankSigningCert', DANSKE_PKI)
    end
def bank_signing_certificate return unless @command == :get_bank_certificate @bank_signing_certificate ||= extract_cert ( doc , 'BankSigningCert' , DANSKE_PKI ) end
Returns the bank's signing certificate which is used by the bank to sign the responses.
Returns the bank ' s signing certificate which is used by the bank to sign the responses .
if {#command} is `:get_bank_certificate`
if { #command } is ` : get_bank_certificate `
OpenSSL::X509::Certificate
if {#command} is any other
if { #command } is any other
nil