method

check_root

ruby latest stable - Class: Gem::Security::Policy
check_root(chain, time)
public

Ensures the root certificate in chain is self-signed and valid for time.