

def create_verifier_for_ecc(signature, hash_method, public_key):
    'Create the verifier to use when the key type is ECC_*.\n\n    :param signature: the decoded signature to use\n    :param hash_method: the hash method to use, as a cryptography object\n    :param public_key: the public key to use, as a cryptography object\n    :returns: the verifier to use to verify the signature for ECC_*.\n    '
    return public_key.verifier(public_key, ec.ECDSA(hash_method))

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/signature_utils.py create_verifier_for_ecc/VarMisuse@21/171 `signature`->`public_key`