Advertisement Jump to content
Sign in to follow this  

[JAVA] How to create a signature that OpenSSL can verify?

This topic is 4969 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi! i got some problems with including signature checking to a program... on one side it runs on php and uses OpenSSL to sign a message... on the other side there is the JAVA code... i can´t get the java code to verify the OpenSSL signature and vice versa. i think OpenSSL uses the PKCS7 standard (not sure what this does mean yet)... iam using bouncycastle on java... if i decrypt the signed message i get 35 bytes instead of 20... (SHA1 hash) well iam using ("RSA/NONE/PKCS1PADDING") but if PKCS7 padding is used or something is just different that would cause the problem... iam thankfull for every help John

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!