SMIME_write_CMS(3) | LibreSSL | SMIME_write_CMS(3) |
SYNOPSIS
#include <openssl/cms.h>
int SMIME_write_CMS(BIO *out, CMS_ContentInfo *cms, BIO *data, int flags);
DESCRIPTION
SMIME_write_CMS() adds the appropriate MIME headers to a CMS structure to produce an S/MIME message.NOTES
The following flags can be passed in the flags parameter.BUGS
SMIME_write_CMS() always base64 encodes CMS structures, there should be an option to disable this.RETURN VALUES
SMIME_write_CMS() returns 1 for success or 0 for failure.SEE ALSO
ERR_get_error(3), CMS_sign(3), CMS_verify(3), CMS_encrypt(3) CMS_decrypt(3)HISTORY
SMIME_write_CMS() was added to OpenSSL 0.9.82015-10-26 | LibreSSL |