Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
NAME
v2i_ASN1_BIT_STRING, i2v_ASN1_BIT_STRING — ASN.1 BIT STRING utility functions for certificate extensionsSYNOPSIS
library “libcrypto”#include <openssl/x509v3.h>
v2i_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, ASN1_BIT_STRING *bit_string, STACK_OF(CONF_VALUE) *nval);
DESCRIPTION
v2i_ASN1_BIT_STRING() allocates a new ASN.1 BIT STRING object and initializes it from a list of bit names. The nval argument is essentially used as the list of the names of the bits to set. Both long names and short names can be used. One name is taken from each element of nval. The ctx argument and any section names or values contained in the elements of nval are ignored. To convert a C string containing a comma-separated list of names to the input format of this function, X509V3_parse_list(3) can be used.- NID_crl_reason
- reason codes, RFC 5280 section 5.3.1
- NID_key_usage
- key usage purposes, RFC 5280 section 4.2.1.3
- NID_netscape_cert_type
- Netscape certificate types (obsolete)