Return how many X509_ATTRIBUTE entries are attached to a key.
Declared in <openssl/x509.h>
<openssl/x509.h>
int EVP_PKEY_get_attr_count(EVP_PKEY const* key);
Attribute count, or 0 if none.