Skip to content
instance method

Gem::Security::Policy#verify

verify(chain, key = nil, digests = {}, signatures = {}, full_name = "(unknown)")

For full_name, verifies the certificate chain is valid, the digests match the signatures signatures created by the signer depending on the policy settings.

If key is given it is used to validate the signing certificate.

See also #check_trust #verify_signatures #check_root also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0