lib/sepa/response.rb
def certificate
      @certificate ||= begin
        extract_cert(doc, 'BinarySecurityToken', OASIS_SECEXT)
      end
    end
# Returns the certificate embedded in the response
#
# @return [OpenSSL::X509::Certificate] if the certificate is found
# @return [nil] if the certificate can't be found
# @raise [OpenSSL::X509::CertificateError] if the certificate cannot be processed
Returns the certificate embedded in the response
Returns the certificate embedded in the response
def certificate
      @certificate ||= begin
        extract_cert(doc, 'BinarySecurityToken', OASIS_SECEXT)
      end
    end
def certificate @certificate ||= begin extract_cert ( doc , 'BinarySecurityToken' , OASIS_SECEXT ) end end
Returns the certificate embedded in the response
Returns the certificate embedded in the response
if the certificate is found
if the certificate is found
OpenSSL::X509::Certificate
if the certificate can't be found
if the certificate can ' t be found
nil
[OpenSSL::X509::CertificateError] if the certificate cannot be processed
[ OpenSSL :: X509 :: CertificateError ] if the certificate cannot be processed