Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
X509v3_get_ext_count, X509v3_get_ext, X509v3_get_ext_by_NID, X509v3_get_ext_by_OBJ, X509v3_get_ext_by_critical, X509v3_delete_ext, X509v3_add_ext, X509_get_ext_count, X509_get_ext, X509_get_ext_by_NID, X509_get_ext_by_OBJ, X509_get_ext_by_critical, X509_delete_ext, X509_add_ext, X509_CRL_get_ext_count, X509_CRL_get_ext, X509_CRL_get_ext_by_NID, X509_CRL_get_ext_by_OBJ, X509_CRL_get_ext_by_critical, X509_CRL_delete_ext, X509_CRL_add_ext, X509_REVOKED_get_ext_count, X509_REVOKED_get_ext, X509_REVOKED_get_ext_by_NID, X509_REVOKED_get_ext_by_OBJ, X509_REVOKED_get_ext_by_critical, X509_REVOKED_delete_ext, X509_REVOKED_add_ext — extension stack utility functionsSYNOPSIS
#include <openssl/x509.h>X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x);
X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc);
X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, int lastpos);
X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *x, const ASN1_OBJECT *obj, int lastpos);
X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *x, int crit, int lastpos);
X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc);
X509v3_add_ext(STACK_OF(X509_EXTENSION) **x, X509_EXTENSION *ex, int loc);
X509_get_ext_count(const X509 *x);
X509_get_ext(const X509 *x, int loc);
X509_get_ext_by_NID(const X509 *x, int nid, int lastpos);
X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos);
X509_get_ext_by_critical(const X509 *x, int crit, int lastpos);
X509_delete_ext(X509 *x, int loc);
X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
X509_CRL_get_ext_count(const X509_CRL *x);
X509_CRL_get_ext(const X509_CRL *x, int loc);
X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos);
X509_CRL_get_ext_by_OBJ(const X509_CRL *x, const ASN1_OBJECT *obj, int lastpos);
X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos);
X509_CRL_delete_ext(X509_CRL *x, int loc);
X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc);
X509_REVOKED_get_ext_count(const X509_REVOKED *x);
X509_REVOKED_get_ext(const X509_REVOKED *x, int loc);
X509_REVOKED_get_ext_by_NID(const X509_REVOKED *x, int nid, int lastpos);
X509_REVOKED_get_ext_by_OBJ(const X509_REVOKED *x, const ASN1_OBJECT *obj, int lastpos);
X509_REVOKED_get_ext_by_critical(const X509_REVOKED *x, int crit, int lastpos);
X509_REVOKED_delete_ext(X509_REVOKED *x, int loc);
X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc);
DESCRIPTION
X509v3_get_ext_count() retrieves the number of extensions in x.- 1
. The returned extension is an internal pointer which must not be freed up by the application.