class FidoMetadata::Statement
Public Instance Methods
attestation_root_certificates()
click to toggle source
Lazy load certificates for compatibility ActiveSupport::Cache. Can be removed once we require a version of OpenSSL which includes github.com/ruby/openssl/pull/281
# File lib/fido_metadata/statement.rb, line 53 def attestation_root_certificates Coercer::Certificates.coerce(@attestation_root_certificates) end
trust_store()
click to toggle source
# File lib/fido_metadata/statement.rb, line 57 def trust_store trust_store = OpenSSL::X509::Store.new attestation_root_certificates.each do |certificate| trust_store.add_cert(certificate) end trust_store end