PKCS7_get_issuer_and_serial

Return the issuer-and-serial of signer info idx in a signed PKCS#7 structure.

Synopsis

Declared in <openssl/pkcs7.h>

PKCS7_ISSUER_AND_SERIAL*
PKCS7_get_issuer_and_serial(
    PKCS7* p7,
    int idx);

Return Value

Pointer to the internal PKCS7_ISSUER_AND_SERIAL (do not free), or NULL if out of range.

Parameters

NameDescription
p7PKCS#7 SignedData or SignedAndEnvelopedData object.
idxZero-based index into the signer-info stack.