protected static function _fromASN1Params(UnspecifiedType $params = null) { if (!isset($params)) { throw new \UnexpectedValueException("No parameters."); } $params->asNull(); return new static(); }
protected static function _fromASN1Params(UnspecifiedType $params = null) { $obj = new static(); // if parameters field is present, it must be null type if (isset($params)) { $obj->_params = $params->asNull(); } return $obj; }
protected static function _fromASN1Params(UnspecifiedType $params = null) { /* * RFC 4231 states that the "parameter" component SHOULD be present * but have type NULL. */ $obj = new static(); if (isset($params)) { $obj->_params = $params->asNull(); } return $obj; }