[#ASN1_STRING_TABLE_add]
= ASN1&lowbar;STRING&lowbar;TABLE&lowbar;add
:mrdocs:

Add or update a local ASN1&lowbar;STRING&lowbar;TABLE entry for `nid&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;STRING&lowbar;TABLE&lowbar;add(
    int nid,
    long minsize,
    long maxsize,
    unsigned long mask,
    unsigned long flags);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nid*
| Object identifier NID whose string policy is registered or updated&period;
| *minsize*
| Minimum size in characters (&gt;&equals; 0 to update&semi; negative leaves unchanged)&period;
| *maxsize*
| Maximum size in characters (&gt;&equals; 0 to update&semi; negative leaves unchanged)&period;
| *mask*
| B&lowbar;ASN1&lowbar;&ast; type mask (nonzero to update&semi; 0 leaves unchanged)&period;
| *flags*
| STABLE&lowbar;FLAGS&lowbar;&ast; bits (nonzero to update&semi; 0 leaves unchanged)&period;
|===


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