[#PKCS7_sign_add_signer] = PKCS7_sign_add_signer :mrdocs: Add a signer to an existing SignedData PKCS#7 created for incremental signing. == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PKCS7_SIGNER_INFO.adoc[PKCS7_SIGNER_INFO]* PKCS7_sign_add_signer( xref:PKCS7.adoc[PKCS7]* p7, xref:X509.adoc[X509]* signcert, xref:EVP_PKEY.adoc[EVP_PKEY]* pkey, xref:EVP_MD.adoc[EVP_MD] const* md, int flags); ---- == Return Value New signer info on success, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *p7* | PKCS#7 SignedData object previously prepared for signing. | *signcert* | Certificate corresponding to `pkey.` | *pkey* | Private key used to sign. | *md* | Message digest algorithm, or NULL to use the key's default. | *flags* | PKCS7_* signing flags (for example PKCS7_REUSE_DIGEST or PKCS7_PARTIAL). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#