Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
BASIC_CONSTRAINTS_new, BASIC_CONSTRAINTS_free — X.509 extension to mark CA certificatesSYNOPSIS
#include <openssl/x509v3.h>BASIC_CONSTRAINTS_new(void);
BASIC_CONSTRAINTS_free(BASIC_CONSTRAINTS *bc);
DESCRIPTION
BASIC_CONSTRAINTS_new() allocates and initializes an empty BASIC_CONSTRAINTS object, representing an ASN.1 BasicConstraints structure defined in RFC 5280 section 4.2.1.9.RETURN VALUES
BASIC_CONSTRAINTS_new() returns the new BASIC_CONSTRAINTS object or NULL if an error occurs.SEE ALSO
d2i_BASIC_CONSTRAINTS(3), X509_check_purpose(3), X509_EXTENSION_new(3), X509_get_extension_flags(3), X509_new(3)STANDARDS
RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile:- section 4.2.1.9: Basic Constraints
- section 6.1: Basic Path Validation