Sha256: c4b88ee1aa238d08b63edc89b21b89b4c34da228530946062346c775ad46623b

Contents?: true

Size: 319 Bytes

Versions: 9

Compression:

Stored size: 319 Bytes

Contents

module Rails
  module Auth
    module X509
      module Filter
        # Extract OpenSSL::X509::Certificates from Privacy Enhanced Mail (PEM) certificates
        class Pem
          def call(pem)
            OpenSSL::X509::Certificate.new(pem.delete("\t")).freeze
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails-auth-2.1.2 lib/rails/auth/x509/filter/pem.rb
rails-auth-2.1.1 lib/rails/auth/x509/filter/pem.rb
rails-auth-2.1.0 lib/rails/auth/x509/filter/pem.rb
rails-auth-2.0.3 lib/rails/auth/x509/filter/pem.rb
rails-auth-2.0.2 lib/rails/auth/x509/filter/pem.rb
rails-auth-2.0.1 lib/rails/auth/x509/filter/pem.rb
rails-auth-1.3.0 lib/rails/auth/x509/filter/pem.rb
rails-auth-1.2.0 lib/rails/auth/x509/filter/pem.rb
rails-auth-1.1.0 lib/rails/auth/x509/filter/pem.rb