private function rsaVerify($data, $public_key_path, $sign)
{
$pubKey = file_get_contents($public_key_path);
$res = openssl_get_publickey($pubKey);
$result = (bool) openssl_verify($data, base64_decode($sign), $res);
openssl_free_key($res);
return $result;
}