method

check_data

ruby latest stable - Class: Gem::Security::Policy
check_data(public_key, digest, signature, data)
public

Verifies that data matches the signature created by public_key and the digest algorithm.