fill_CMSIdentifier
ret = fill_CMSIdentifier(cert, sigctx->cmsidflag, &signer_info->sid);
ret = fill_CMSIdentifier(cert, cmsidflag, &ri->rid);