def verify(signature,private_key,fileName): data=getData(fileName) data=data.encode("utf-8") start=timer() public_key = private_key.public_key() public_key.verify( signature, data, hashes.SHA256() ) end=timer()