Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
X509_check_ca — check whether a certificate is a CA certificateDESCRIPTION
The X509_check_ca() function checks whether the given certificate is a CA certificate, that is, whether it can be used to sign other certificates.RETURN VALUES
If cert is a CA certificate, a non-zero value is returned; 0 otherwise.- 1
- an X.509 v3 CA certificate with basicConstraints extension CA:TRUE
- 3
- a self-signed X.509 v1 certificate
- 4
- a certificate with keyUsage extension with bit keyCertSign set, but without basicConstraints
- 5
- a certificate with an outdated Netscape Certificate Type extension telling that it is a CA certificate