Create a streaming BIO that encodes val in indefinite-length (NDEF) DER form.
Declared in <openssl/asn1.h>
BIO*
BIO_new_NDEF(
BIO* out,
ASN1_VALUE* val,
ASN1_ITEM const* it);
Used for CMS/SMIME streaming; cannot constify val because of CMS_stream().
New filter BIO chained to out, or NULL on error.
| Name | Description |
|---|---|
| out | Downstream BIO that receives the encoded output. |
| val | ASN.1 value to stream-encode (not const because streaming may update state). |
| it | ASN.1 item descriptor for val. |