CMS_unsigned_get_attr_count

Return how many unsigned attributes are present on a CMS SignerInfo.

Synopsis

Declared in <openssl/cms.h>

int
CMS_unsigned_get_attr_count(CMS_SignerInfo const* si);

Return Value

Attribute count, or -1 if the unsigned attribute list is NULL.

Parameters

NameDescription
siSignerInfo whose unsignedAttrs are counted.