public function __construct($certificate, $icpBrasilData, $dontSkip = FALSE)
 {
     // parse $oid and get specific info from
     if (array_key_exists(self::OID_PF, $icpBrasilData)) {
         $this->pf = true;
     } else {
         if (array_key_exists(self::OID_PJ_CEI, $icpBrasilData)) {
             $this->pj = true;
         } else {
             if (array_key_exists(self::OID_APP_NOMEEMPRESARIAL, $icpBrasilData)) {
                 $this->app = true;
             }
         }
     }
     foreach ($icpBrasilData as $oid => $value) {
         // TODO: Treat other OIDs
         if ($oid == self::OID_PF) {
             $this->cpf = $value['CPF'];
             $this->nascimento = $value['NASCIMENTO'];
             $this->nis = $value['NIS'];
             $this->rg = $value['RG'];
             $this->orgaoUF['ORGAOUF'];
         }
     }
     parent::__construct($certificate, $dontSkip);
 }
 public function getUsername()
 {
     return $this->certificate->getEmail();
 }