---
name: "libressl-PKCS7_get_signer_info"
section: "3"
platform: "linux"
package: "libressl"
version: "4.4.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libressl-PKCS7_get_signer_info"
---

# libressl-PKCS7\_get\_signer\_info(3)

retrieve signerInfos from a SignedData object

## NAME

**PKCS7\_get\_signer\_info** – retrieve signerInfos from a SignedData object

## SYNOPSIS

Crypto Library (libcrypto, -lcrypto)

**#include \<openssl/pkcs7.h\>**

*STACK\_OF(PKCS7\_SIGNER\_INFO)* *\**\

**PKCS7\_get\_signer\_info**(*PKCS7 \*p7*);

## DESCRIPTION

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*.

## SEE ALSO

PKCS7\_add\_attribute(3), PKCS7\_final(3), PKCS7\_new(3), PKCS7\_sign(3), PKCS7\_sign\_add\_signer(3)

## HISTORY

**PKCS7\_get\_signer\_info**() first appeared in SSLeay 0.8.1 and has been available since OpenBSD 2.4.
