/**
  * company public key control processes has been wrapped
  * @param type $params
  * @return type
  * @author Mustafa Zeynel Dağlı
  * @since 0.4 09/06/2016
  */
 private function publicCompanyKeyProcessControler($params)
 {
     $resultSet;
     if ($this->isServiceCpkRequired) {
         /**
          * getting private key due to public key
          * @author Mustafa Zeynel Dağlı
          * @since 05/01/2016 version 0.3
          */
         if (isset($params['cpk']) && isset($params['pk'])) {
             $resultSet = $this->dalObject->isUserBelongToCompany($params['pk'], $params['cpk']);
         }
         /**
          * if user id and company key does not match
          * forward to user not belong to company
          * @author Mustafa Zeynel Dağlı
          * @since 06/01/2016 version 0.3
          */
         if (empty($resultSet['resultSet'])) {
             $this->userNotBelongCompany();
         }
         return $resultSet;
     } else {
         return null;
     }
 }