lib/sepa/banks/nordea/nordea_response.rb
def own_signing_certificate
      application_response = extract_application_response(NORDEA_PKI)
      at = 'xmlns|Certificate > xmlns|Certificate'
      node = Nokogiri::XML(application_response).at(at, xmlns: NORDEA_XML_DATA)

      return unless node

      cert_value = process_cert_value node.content
      cert = x509_certificate cert_value
      cert.to_s
    end
# Extracts own signing certificate from the response.
#
# @return [String] own signing certificate as string it it is found
# @return [nil] if the certificate cannot be found
Extracts own signing certificate from the response.
Extracts own signing certificate from the response .
def own_signing_certificate
      application_response = extract_application_response(NORDEA_PKI)
      at = 'xmlns|Certificate > xmlns|Certificate'
      node = Nokogiri::XML(application_response).at(at, xmlns: NORDEA_XML_DATA)
      return unless node
      cert_value = process_cert_value node.content
      cert = x509_certificate cert_value
      cert.to_s
    end
def own_signing_certificate application_response = extract_application_response ( NORDEA_PKI ) at = 'xmlns|Certificate > xmlns|Certificate' node = Nokogiri :: XML ( application_response ) . at ( at , xmlns : NORDEA_XML_DATA ) return unless node cert_value = process_cert_value node . content cert = x509_certificate cert_value cert . to_s end
Extracts own signing certificate from the response.
Extracts own signing certificate from the response .
own signing certificate as string it it is found
own signing certificate as string it it is found
String
if the certificate cannot be found
if the certificate cannot be found
nil