Sha256: b7c0b05e4a0c169530a29317e6c7a34d5309d71379d94a15e422d3e5b7fa4529
Contents?: true
Size: 397 Bytes
Versions: 6
Compression:
Stored size: 397 Bytes
Contents
# frozen_string_literal: true module Rails module Auth module X509 module Filter # Extract OpenSSL::X509::Certificates from java.security.cert.Certificate class Java def call(certs) return if certs.nil? || certs.empty? OpenSSL::X509::Certificate.new(certs[0].get_encoded).freeze end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems