SMIME_READ_CMS(3ssl) OpenSSL SMIME_READ_CMS(3ssl) SMIME_read_CMS_ex, SMIME_read_CMS - S/MIME #include CMS_ContentInfo *SMIME_read_CMS_ex(BIO *bio, int flags, BIO **bcont, CMS_ContentInfo **cms); CMS_ContentInfo *SMIME_read_CMS(BIO *in, BIO **bcont); SMIME_read_CMS() S/MIME. in BIO . bio *bcont *bcont NULL. CMS_ContentInfo NULL . SMIME_read_CMS_ex() SMIME_read_CMS() cms CMS_ContentInfo flags. cms CMS_ContentInfo_new_ex(3). flags CMS_BINARY . SMIME_ASCIICRLF CR LF LF. flags 0 cms NULL SMIME_read_CMS(). *bcont NULL . *bcont CMS_verify() CMS_DETACHED. CMS_get0_type(). bcont NULL *bcont NULL. : BIO *cont = NULL; CMS_ContentInfo *cms; cms = SMIME_read_CMS(in, &cont); MIME SMIME_read_CMS() . S/MIME . CMS_ContentInfo base64 quoted printable. BIO : . SMIME_read_CMS_ex() SMIME_read_CMS() CMS_ContentInfo NULL . ERR_get_error(3). ERR_get_error(3), CMS_sign(3), CMS_verify(3), CMS_encrypt(3), CMS_decrypt(3) SMIME_read_CMS_ex() OpenSSL 3.0. 2008-2021 OpenSSL. . Apache 2.0 ( ""). . LICENSE . 3 . . : . 3.6.2 7 2026 SMIME_READ_CMS(3ssl)