DontCry Posted April 22, 2017 Share Posted April 22, 2017 (edited) Hi at all! I new on this forum. I hope you can help me! I have this problem: I have a webapp, where users upload their certificate to digitally sign PDF and XML documents to P7M format. I tried with the openssl_pkcs7_sign function, but it outputs a MIME message. It seems that even OpenSSL can't do it. Do you have any advice? Thanks in advance! Edited April 22, 2017 by DontCry Quote Link to comment Share on other sites More sharing options...
requinix Posted April 22, 2017 Share Posted April 22, 2017 I tried with the openssl_pkcs7_sign function, but it outputs a MIME message.From what I can tell that is how P7M is supposed to work. Or rather, that is what it does. What do you think "digitally sign PDF and XML documents to P7M format" is supposed to be like? Quote Link to comment Share on other sites More sharing options...
Jacques1 Posted April 22, 2017 Share Posted April 22, 2017 What does “users upload their certificate to digitcally sign documents” even mean? Are you saying you sign documents on the behalf of your users? Do you realize this completely breaks the concept of public-key cryptography? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.