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

Name

Description

x

Stack of X509_ATTRIBUTE values; may be NULL.

Created with MrDocs