S/MIME + AES256 Cipher - Decryption via symmetric key

2010-05-06 Thread Benjamin Amling
Hello, we created a couple of S/MIME messages using the PKCS7-functionalities (PKCS7_encrypt, etc..). Everything seems to be working just fine right now and we can decrypt the message using the private key. However, now we're trying to decrypt the message using the symmetric key so we don't have t

Extracting RecipientInfos/DER from S/MIME message

2010-04-14 Thread Benjamin Amling
Hello, is it possible to extract the DER blob from the RecipientInfos-part of a S/MIME message? I tried the following steps already but couldn't manage to get what I want: * BIO *bin = BIO_new(BIO_s_mem()); BIO_write(bin, mimeMes