Append a simple SMIMECapabilities AlgorithmIdentifier for nid to sk.
Synopsis
Declared in <openssl/pkcs7.h>
int
PKCS7_simple_smimecap(
stack_st_X509_ALGOR* sk,
int nid,
int arg);
Return Value
1 on success, or 0 on failure.
Parameters
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. |
Created with MrDocs