CMS_sign_ex
cms = CMS_sign_ex(NULL, NULL, other, in, flags, libctx, app_get0_propq());
signcms = CMS_sign_ex(sign_cert, sign_key, certs, data, sign_flags, libctx, propq);
return CMS_sign_ex(signcert, pkey, certs, data, flags, NULL, NULL);
cms = CMS_sign_ex(NULL, NULL, certs, NULL, flags,
CMS_ContentInfo *CMS_sign_ex(X509 *signcert, EVP_PKEY *pkey,