Return the attribute at a zero-based index in an attribute stack.
Declared in <openssl/x509.h>
X509_ATTRIBUTE*
X509at_get_attr(
stack_st_X509_ATTRIBUTE const* x,
int loc);
Attribute at loc, or NULL if loc is out of range.
| Name | Description |
|---|---|
| x | Stack of X509_ATTRIBUTE values to index. |
| loc | Index in the range [0, X509at_get_attr_count(]x)). |