RE: openssl RSA_sign() and Java verify how

2012-10-31 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of redpath > Sent: Tuesday, 30 October, 2012 16:56 > I am using openssl to create a signature for a file contents and use > openssl to verify the contents using the signature file. The > public key is from an x509 cert. > All works great. > Speci

Re: openssl RSA_sign() and Java verify how

2012-10-31 Thread Kenneth Goldman
I'd suggest as a next step to see if you're using the same public key for both the Java and openssl verify. After that, the next step would be, in Java, to do a raw public key operation and examine the result. That will tell you whether it's the public key, the padding, the OID, or the hash th