SMIME_WRITE_CMS(3ssl) OpenSSL SMIME_WRITE_CMS(3ssl) SMIME_write_CMS - CMS S/MIME #include int SMIME_write_CMS(BIO *out, CMS_ContentInfo *cms, BIO *data, int flags); SMIME_write_CMS() MIME CMS S/MIME. out BIO . cms CMS_ContentInfo . (streaming) data. flags . flags. CMS_DETACHED (cleartext signing) SignedData CMS_DETACHED CMS_sign(). CMS_TEXT MIME text/plain CMS_DETACHED . CMS_STREAM (streaming). CMS_STREAM CMS_ContentInfo. CMS_STREAM : CMS_sign() S/MIME. BER DER. SMIME_write_CMS() CMS base64 . SMIME_write_CMS() 1 0 . ERR_get_error(3), CMS_sign(3), CMS_verify(3), CMS_encrypt(3) CMS_decrypt(3) 2008-2016 OpenSSL. . Apache 2.0 ( ""). . LICENSE . 3 . . : . 3.6.2 7 2026 SMIME_WRITE_CMS(3ssl)