Return the extension at index loc from a stack of X509_EXTENSION.
Declared in <openssl/x509.h>
X509_EXTENSION*
X509v3_get_ext(
stack_st_X509_EXTENSION const* x,
int loc);
Internal X509_EXTENSION pointer (do not free), or NULL on error.
| Name | Description |
|---|---|
| x | Stack of extensions to query; may be NULL. |
| loc | Extension index from 0 to X509v3_get_ext_count(x) - 1. |