CMS_get0_type
type = CMS_get0_type(cms);
if (OBJ_obj2nid(CMS_get0_type(cms)) != NID_pkcs7_data) {
if (OBJ_obj2nid(CMS_get0_type(cms)) != NID_pkcs7_digest) {
if (OBJ_obj2nid(CMS_get0_type(cms)) != NID_pkcs7_encrypted) {
int nid = OBJ_obj2nid(CMS_get0_type(cms));
if (OBJ_obj2nid(CMS_get0_type(cms)) != NID_id_smime_ct_compressedData) {
const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms);