CMS_decrypt in a buffer

2013-03-25 Thread spammazz
Hi all, I'm using openssl-1.0.1e library to decrypt an email and the output is redirected into a file. BIO *bio_plain_text = BIO_new_file("plain_text", "w"); CMS_decrypt(contentInfo, pkey, mla_cert, NULL, bio_plain_text, 0); How can I decypt in a buffer also if I don't know the output s

X509_ATTRIBUTE create

2013-03-19 Thread spammazz
Hello All, I'm using openssl 1.0.1e. I want to use these two example functions X509_ATTRIBUTE *add_seq2string(PKCS7_SIGNER_INFO *si, char *str1, char *str2); int sk_get_seq2string(STACK_OF(X509_ATTRIBUTE) *sk, char **str1, char **str2); included in the file "/openssl-1.0.1e/crypto/pkcs7/example.

mlExpansionHistory attribute

2013-03-05 Thread spammazz
Hi all, I want to insert/modify the mlExpansionHistory attribute in a SMIME email using the openssl API. Thanks -- View this message in context: http://openssl.6102.n7.nabble.com/mlExpansionHistory-attribute-tp44086.html Sent from the OpenSSL - User mailing list archive at Nabble.com.