GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SMIME_TEXT(3) FreeBSD Library Functions Manual SMIME_TEXT(3)

SMIME_text
remove text/plain MIME headers

#include <openssl/asn1.h>

int
SMIME_text(BIO *in_bio, BIO *out_bio);

SMIME_text() reads MIME headers from in_bio, checks that the content type is “text/plain”, discards the MIME headers, and copies the text that follows the headers from in_bio to out_bio.

SMIME_text() returns 1 on success or 0 if memory allocation, reading the input, or parsing the MIME headers fails, if there is no “content-type” header, or if the content type is not “text/plain”.

SMIME_crlf_copy(3), SMIME_read_ASN1(3)

SMIME_text() first appeared in OpenSSL 1.0.0 and has been available since OpenBSD 4.9.

SMIME_text() does not support non-blocking BIOs.
December 14, 2021 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.