Attach an S/MIME capabilities attribute to a PKCS#7 signer info.
Declared in <openssl/pkcs7.h>
int
PKCS7_add_attrib_smimecap(
PKCS7_SIGNER_INFO* si,
stack_st_X509_ALGOR* cap);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| si | Signer info that receives the SMIMECapabilities signed attribute. |
| cap | Stack of X509_ALGOR capability descriptors (for example from PKCS7_simple_smimecap). |