libressl-PKCS7_get_signer_info3
Retrieve signerinfos from a signeddata object
Usage
Crypto Library (libcrypto, -lcrypto)
#include <openssl/pkcs7.h>
STACK_OF(PKCS7_SIGNER_INFO) *
PKCS7_get_signer_info(PKCS7 *p7);
Overview
This function retrieves the set of SignerInfo structures from the signerInfos field of p7.
These can subsequently be manipulated with the functions documented in PKCS7_add_attribute(3).
Return values
PKCS7_get_signer_info() returns an internal pointer to a STACK_OF(PKCS7_SIGNER_INFO) object or NULL on failure. It fails if p7 is NULL, if it has no content, or if it is of a type other than SignedData or SignedAndEnvelopedData.