Lines Matching refs:BIO_printf
175 BIO_printf(out, "-----BEGIN %s-----\n", hdr);
177 BIO_printf(out, "-----END %s-----\n", hdr);
303 BIO_printf(bio, "MIME-Version: 1.0%s", mime_eol);
304 BIO_printf(bio, "Content-Type: multipart/signed;");
305 BIO_printf(bio, " protocol=\"%ssignature\";", mime_prefix);
308 BIO_printf(bio, "\"; boundary=\"----%s\"%s%s",
310 BIO_printf(bio, "This is an S/MIME signed message%s%s",
313 BIO_printf(bio, "------%s%s", bound, mime_eol);
316 BIO_printf(bio, "%s------%s%s", mime_eol, bound, mime_eol);
320 BIO_printf(bio, "Content-Type: %ssignature;", mime_prefix);
321 BIO_printf(bio, " name=\"smime.p7s\"%s", mime_eol);
322 BIO_printf(bio, "Content-Transfer-Encoding: base64%s", mime_eol);
323 BIO_printf(bio, "Content-Disposition: attachment;");
324 BIO_printf(bio, " filename=\"smime.p7s\"%s%s", mime_eol, mime_eol);
326 BIO_printf(bio, "%s------%s--%s%s", mime_eol, bound,
347 BIO_printf(bio, "MIME-Version: 1.0%s", mime_eol);
348 BIO_printf(bio, "Content-Disposition: attachment;");
349 BIO_printf(bio, " filename=\"%s\"%s", cname, mime_eol);
350 BIO_printf(bio, "Content-Type: %smime;", mime_prefix);
352 BIO_printf(bio, " smime-type=%s;", msg_type);
353 BIO_printf(bio, " name=\"%s\"%s", cname, mime_eol);
354 BIO_printf(bio, "Content-Transfer-Encoding: base64%s%s",
358 BIO_printf(bio, "%s", mime_eol);
544 BIO_printf(out, "Content-Type: text/plain\r\n\r\n");