Find the next extension in x whose OID matches obj.
Declared in <openssl/x509.h>
int
X509v3_get_ext_by_OBJ(
stack_st_X509_EXTENSION const* x,
ASN1_OBJECT const* obj,
int lastpos);
Index of the matching extension, or -1 if not found.
| Name | Description |
|---|---|
| x | Stack of extensions to search. |
| obj | Extension OID to match. |
| lastpos | Index to search after, or -1 to start from the beginning. |