method

check_trust

ruby latest stable - Class: Gem::Security::Policy
check_trust(chain, digester, trust_dir)
public

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