Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
ASN1_STRING_TABLE_add, ASN1_STRING_TABLE_get, ASN1_STRING_TABLE_cleanup — maintain the global ASN.1 string tableSYNOPSIS
#include <openssl/asn1.h>ASN1_STRING_TABLE_add(int nid, long minsize, long maxsize, unsigned long mask, unsigned long flags);
ASN1_STRING_TABLE_get(int nid);
ASN1_STRING_TABLE_cleanup(void);
DESCRIPTION
The ASN.1 string table is a unique global object. Each entry is of the type ASN1_STRING_TABLE and contains information about one NID object. Some entries are predefined according to RFC 3280 appendix A.1.object type | maxsize | symbolic constant |
NID_commonName | 64 | ub_common_name |
NID_countryName | 2 | — |
NID_givenName | 32768 | ub_name |
NID_initials | 32768 | ub_name |
NID_localityName | 128 | ub_locality_name |
NID_name | 32768 | ub_name |
NID_organizationName | 64 | ub_organization_name |
NID_organizationalUnitName | 64 | ub_organization_unit_name |
NID_pkcs9_emailAddress | 128 | ub_email_address |
NID_serialNumber | 64 | ub_serial_number |
NID_stateOrProvinceName | 128 | ub_state_name |
NID_surname | 32768 | ub_name |