Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Gem::Security::Policy#check_trust

check_trust(chain, digester, trust_dir)

Ensures the root of chain has a trusted certificate in trust_dir and the digests of the two certificates match according to digester

See also #check_root #verify #check_key #verify_signatures also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0