Find the next attribute in a stack whose OID equals obj.
Synopsis
Declared in <openssl/x509.h>
int
X509at_get_attr_by_OBJ(
stack_st_X509_ATTRIBUTE const* sk,
ASN1_OBJECT const* obj,
int lastpos);
Return Value
Index of the matching attribute, or ‐1 if not found.
Parameters
Name |
Description |
sk |
Attribute stack to search, or NULL. |
obj |
Object identifier to match. |
lastpos |
Index after which to search (‐1 to start from the beginning). |
Created with MrDocs