Title: Sign and encrypt question

Hi all,
my general purpose decrypt function (based upon OpenSSL code), decrypts a piece of data and removes the padding (if available). So, when creating a PKCS#7 signed and enveloped message, I calculate the signature using the plain data, but I do the encryption on the data plus padding. Is this correct?

Tx,
Alex

Reply via email to