ASN1_STRING_TABLE_add

Add or update a local ASN1_STRING_TABLE entry for nid.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_STRING_TABLE_add(
    int nid,
    long minsize,
    long maxsize,
    unsigned long mask,
    unsigned long flags);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
nidObject identifier NID whose string policy is registered or updated.
minsizeMinimum size in characters (>= 0 to update; negative leaves unchanged).
maxsizeMaximum size in characters (>= 0 to update; negative leaves unchanged).
maskB_ASN1_* type mask (nonzero to update; 0 leaves unchanged).
flagsSTABLE_FLAGS_* bits (nonzero to update; 0 leaves unchanged).