PKCS7_add_signer

Attach a prepared signer info to a PKCS#7 SignedData or SignedAndEnvelopedData structure.

Synopsis

Declared in <openssl/pkcs7.h>

int
PKCS7_add_signer(
    PKCS7* p7,
    PKCS7_SIGNER_INFO* p7i);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
p7PKCS#7 object that already has a signed content type.
p7iSigner info to add; the structure retains a reference to it.