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

Name

Description

nid

Object identifier NID whose string policy is registered or updated.

minsize

Minimum size in characters (>= 0 to update; negative leaves unchanged).

maxsize

Maximum size in characters (>= 0 to update; negative leaves unchanged).

mask

B_ASN1_* type mask (nonzero to update; 0 leaves unchanged).

flags

STABLE_FLAGS_* bits (nonzero to update; 0 leaves unchanged).

Created with MrDocs