Object
Handles the loading and caching of certificates and private keys.
# File lib/tlspretense/test_harness/certificate_manager.rb, line 14 def get_cert(name) OpenSSL::X509::Certificate.new(get_raw_cert(name)) end
# File lib/tlspretense/test_harness/certificate_manager.rb, line 26 def get_chain(list) list.map { |name| get_cert(name) } end
# File lib/tlspretense/test_harness/certificate_manager.rb, line 22 def get_key(name) OpenSSL::PKey.read(get_raw_key(name)) end
# File lib/tlspretense/test_harness/certificate_manager.rb, line 30 def get_keychain(list) list.map { |name| get_key(name) } end
Generated with the Darkfish Rdoc Generator 2.