DontCry Posted April 22, 2017 Share Posted April 22, 2017 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! 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? 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.