Hello Steve,
you are right. I corrected the code (see below). Now it works!
Thank you very much for your quick response.
...
/* encrypt content */
cms = CMS_encrypt(NULL, in, cipher, nflags);
if(!cms)
{
KWlog_appl ( EV_D_APPL_INFO , "CMS not allocated!" );
}
for (i =
On Mon, May 15, 2017, RudyAC wrote:
> Hello Steve,
>
> first of all thanks for helpful advice. When printing out all the fields of
> the message with the openssl command
> I got for every recipient two blocks. One block includes the OAEP padding
> and the other block (same recipient) includes the
Hello Steve,
first of all thanks for helpful advice. When printing out all the fields of
the message with the openssl command
I got for every recipient two blocks. One block includes the OAEP padding
and the other block (same recipient) includes the default padding.
d.ktri:
version:
On Thu, May 11, 2017, RudyAC wrote:
> Hello,
>
> I have the requirement to encrypt e-mails using RSA-OAEP padding. I use the
> library openssl-1.0.2k and encrypt with CMS container. The following
> function describes my method. My problem is that I'm not sure if this method
> really uses the RSA-
Hello,
I have the requirement to encrypt e-mails using RSA-OAEP padding. I use the
library openssl-1.0.2k and encrypt with CMS container. The following
function describes my method. My problem is that I'm not sure if this method
really uses the RSA-OAEP padding.
bool
smime_encrypt_cms(const std::