用VB和JAVA都做过,PHP没做过
但是找到这个,应该有点用吧http://cn.php.net/manual/zh/function.openssl-verify.php