I am signing some text using php openssl and trying to verify it in the windows app using CryptoApi but validation always fails. Please help me out.
PHP Cod
To verify using CryptoAPI, reverse the signature and then verify. This is because, on Windows, byte ordering is different from OpenSSL (that is big endian).
You can do it in the following way
for(i=0, j=dwSigLen-1; i
After that, verify signature.
This question can help you as it faces similar problem (signed from CryptoAPI and verify using OpenSSL).