libressl-PKCS7_get_signer_info(3)

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.

History

PKCS7_get_signer_info() first appeared in SSLeay 0.8.1 and has been available since OpenBSD 2.4.

From libressl 4.4.0-1 in Arch Linux 2026-11-07. Parsed by carta from the page's mdoc source.