public function removeCn($cn) { $this->commonNames = array_diff($this->commonNames, [$cn]); return $this; }