lib/sepa/banks/op/op_response.rb
def certificate_is_trusted?
      return true if environment == :test || BYPASS_COMMANDS.include?(command)

      verify_certificate_against_root_certificate(certificate, OP_ROOT_CERTIFICATE)
    end
# Checks whether the certificate embedded in the response soap has been signed with OP's
# root certificate. The check is skipped in test environment, because a different root
# certificate is used. The check is also skipped for certificate requests because they are not
# signed
#
# @return [true] if certificate is trusted
# @return [false] if certificate fails to verify
# @see DanskeResponse#certificate_is_trusted?
Checks whether the certificate embedded in the response soap has been signed with OP's
root certificate. The check is skipped in test environment, because a different root
certificate is used. The check is also skipped for certificate requests because they are not
signed
Checks whether the certificate embedded in the response soap has been signed with OP ' s root certificate . The check is skipped in test environment because a different root certificate is used . The check is also skipped for certificate requests because they are not signed
def certificate_is_trusted?
      return true if environment == :test || BYPASS_COMMANDS.include?(command)
      verify_certificate_against_root_certificate(certificate, OP_ROOT_CERTIFICATE)
    end
def certificate_is_trusted? return true if environment == :test || BYPASS_COMMANDS . include? ( command ) verify_certificate_against_root_certificate ( certificate , OP_ROOT_CERTIFICATE ) end
Checks whether the certificate embedded in the response soap has been signed with OP's
root certificate.
Checks whether the certificate embedded in the response soap has been signed with OP ' s root certificate .
if certificate is trusted
if certificate is trusted
true
if certificate fails to verify
if certificate fails to verify
false
see
None