Sha256: b66df8a7280471872dfa7f4ddfac5e68bc9f46e5fc3a4d513cff1efda805ba5e
Contents?: true
Size: 300 Bytes
Versions: 1
Compression:
Stored size: 300 Bytes
Contents
require 'openssl' module Certs def cert(name) OpenSSL::X509::Certificate.new load "#{name}.crt" end def crl(name) OpenSSL::X509::CRL.new load "#{name}.crl" end private def load(filename) path = File.join(File.dirname(__FILE__), 'ca', filename) File.read path end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cert_validator-0.0.1 | spec/support/certs.rb |