Append one S/MIME capability AlgorithmIdentifier to a stack.
Declared in <openssl/cms.h>
int
CMS_add_simple_smimecap(
stack_st_X509_ALGOR** algs,
int algnid,
int keysize);
1 on success, or 0 on failure.
| 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. |