/** * Tries to find the best match of the current certificate. * * @return string */ public function type() { $types = $this->x509->getSubjectDNProp('id-at-organizationalUnitName'); return last($types); }