Hi everybody.In my program I make a pkcs7_sign on a ASN1 message, and after that I apply  a pkcs7_encrypt on the signed message. When I try the inverse process, the pkcs7_decrypt function decrypt the content from the PKCS#7 envelopedData structure and store it in a BIO data. My problem is how to convert that BIO in a PKCS7 structure, because I'll need to apply a PKCS7_verify to see if all went well. (That will be a part of the comunication between a client and a server, where the client will sign a message and will obtain a enveloped structure of that sign, and then the server must decrypt the message and verify the autenticity of the sign). Thanks a lot

Reply via email to