CMS_signed_get_attr_count

Return the number of signed attributes on a CMS SignerInfo.

Synopsis

Declared in <openssl/cms.h>

int
CMS_signed_get_attr_count(CMS_SignerInfo const* si);

Return Value

Attribute count, or -1 if signedAttrs is absent.

Parameters

NameDescription
siSignerInfo whose signedAttrs set is queried.