[#CMS_add_simple_smimecap] = CMS_add_simple_smimecap :mrdocs: Append one S/MIME capability AlgorithmIdentifier to a stack. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_add_simple_smimecap( xref:stack_st_X509_ALGOR.adoc[stack_st_X509_ALGOR]** algs, int algnid, int keysize); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *algs* | Address of the stack to create or extend (may point to NULL). | *algnid* | Algorithm NID for the capability (cipher or similar). | *keysize* | Optional key‐size parameter in bits; if <= 0, no parameter is included. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#