X509at_get_attr_count

Return the number of attributes in an X509_ATTRIBUTE stack.

Synopsis

Declared in <openssl/x509.h>

int
X509at_get_attr_count(stack_st_X509_ATTRIBUTE const* x);

Return Value

Attribute count, or -1 if x is NULL.

Parameters

NameDescription
xStack of X509_ATTRIBUTE values; may be NULL.