public function getCert(string $type): array
    {
        $type = mb_strtolower($type);
        $this->throwIfNotInArray($type, self::CERTS);
        return $this->_certs[$type] ?? [];
    }
public function getCert(string $type): array
    {
        $type = mb_strtolower($type);
        $this->throwIfNotInArray($type, self::CERTS);
        return $this->_certs[$type] ?? [];
    }
public function getCert ( string $ type ) : array { $ type = mb_strtolower ( $ type ) ; $ this -> throwIfNotInArray ( $ type , self :: CERTS ) ; return $ this -> _certs [ $ type ] ?? [ ] ; }
Return information about specified certificate

@param   string $type
@throws  \RuntimeException
@return  array
Return information about specified certificate