[#BIO_new_NDEF]
= BIO&lowbar;new&lowbar;NDEF
:mrdocs:

Create a streaming BIO that encodes `val` in indefinite&hyphen;length (NDEF) DER form&period;

== Synopsis

Declared in `&lt;openssl&sol;asn1&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BIO.adoc[BIO]*
BIO&lowbar;new&lowbar;NDEF(
    xref:BIO.adoc[BIO]* out,
    xref:ASN1_VALUE.adoc[ASN1&lowbar;VALUE]* val,
    xref:ASN1_ITEM.adoc[ASN1&lowbar;ITEM] const* it);
----

== Description

Used for CMS&sol;SMIME streaming&semi; cannot constify `val` because of CMS&lowbar;stream()&period;

== Return Value

New filter BIO chained to `out,` or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *out*
| Downstream BIO that receives the encoded output&period;
| *val*
| ASN&period;1 value to stream&hyphen;encode (not const because streaming may update state)&period;
| *it*
| ASN&period;1 item descriptor for `val&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
