lib/sepa/banks/danske/danske_response.rb
# Returns the bank's root certificate which is the certificate that is used to sign bank's other
# certificates. 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 root certificate which is the certificate that is used to sign bank's other
certificates. Only present in `:get_bank_certificate` responses.
Returns the bank ' s root certificate which is the certificate that is used to sign bank ' s other certificates . Only present in ` : get_bank_certificate ` responses .
def bank_root_certificate
      return unless @command == :get_bank_certificate
      @bank_root_certificate ||= extract_cert(doc, 'BankRootCert', DANSKE_PKI)
    end
def bank_root_certificate return unless @command == :get_bank_certificate @bank_root_certificate ||= extract_cert ( doc , 'BankRootCert' , DANSKE_PKI ) end
Returns the bank's root certificate which is the certificate that is used to sign bank's other
certificates.
Returns the bank ' s root certificate which is the certificate that is used to sign bank ' s other certificates .
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