Anbybody trying to get a Win32 CryptoAPI based digital signature component to work with the openssl_verify() function should be aware that the CryptoAPI PKCS1 (RSA) method uses bytes in reverse order while the openssl_verify() method expects a correctly formatted PKCS1 digital signature (as should be).
   用CAPICOM控件签的名,传到PHP上用openssl_verify()验证签名,需要把签名reverse一下。谁能帮我写个reverse的脚本或者是PHP方法,我在网上查了好久都没找到解决的方法。