Append a simple SMIMECapabilities AlgorithmIdentifier for nid to sk.
Declared in <openssl/pkcs7.h>
int
PKCS7_simple_smimecap(
stack_st_X509_ALGOR* sk,
int nid,
int arg);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| sk | Capability stack receiving the new AlgorithmIdentifier. |
| nid | Algorithm NID to advertise (cipher or digest). |
| arg | Optional algorithm parameter (for example key length for RC2), or -1 / 0 when unused. |