Attach signer certificates from certs to matching CMS SignerInfos.
Declared in <openssl/cms.h>
int
CMS_set1_signers_certs(
CMS_ContentInfo* cms,
stack_st_X509* certs,
unsigned int flags);
Number of SignerInfos that received a certificate, or a negative value on error.
| Name | Description |
|---|---|
| cms | Signed CMS ContentInfo whose SignerInfos are updated. |
| certs | Candidate signer certificates; matching ones are referenced by the CMS structure. |
| flags | CMS_NOINTERN and related flags controlling where certificates are taken from. |