[#PKCS7_SIGNER_INFO_set] = PKCS7_SIGNER_INFO_set :mrdocs: Populate a PKCS#7 signer info with certificate, key, and digest algorithm. == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS7_SIGNER_INFO_set( xref:PKCS7_SIGNER_INFO.adoc[PKCS7_SIGNER_INFO]* p7i, xref:X509.adoc[X509]* x509, xref:EVP_PKEY.adoc[EVP_PKEY]* pkey, xref:EVP_MD.adoc[EVP_MD] const* dgst); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *p7i* | SignerInfo to configure. | *x509* | Signer's certificate (sets issuer/serial). | *pkey* | Signer's private key. | *dgst* | Digest algorithm used for the signature. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#