Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. 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 Gem::Security.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.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0