original_string: public static function setCasServerCACert($cert, $validate_cn = true)
      {
          phpCAS :: traceBegin();
          phpCAS::_validateClientExists();
  
          try {
              self::$_PHPCAS_CLIENT->setCasServerCACert($cert, $validate_cn);
          } catch (Exception $e) {
              phpCAS :: error(get_class($e) . ': ' . $e->getMessage());
          }
  
          phpCAS :: traceEnd();
      }
code: public static function setCasServerCACert($cert, $validate_cn = true)
      {
          phpCAS :: traceBegin();
          phpCAS::_validateClientExists();
  
          try {
              self::$_PHPCAS_CLIENT->setCasServerCACert($cert, $validate_cn);
          } catch (Exception $e) {
              phpCAS :: error(get_class($e) . ': ' . $e->getMessage());
          }
  
          phpCAS :: traceEnd();
      }
code_tokens: public static function setCasServerCACert ( $ cert , $ validate_cn = true ) { phpCAS :: traceBegin ( ) ; phpCAS :: _validateClientExists ( ) ; try { self :: $ _PHPCAS_CLIENT -> setCasServerCACert ( $ cert , $ validate_cn ) ; } catch ( Exception $ e ) { phpCAS :: error ( get_class ( $ e ) . ': ' . $ e -> getMessage ( ) ) ; } phpCAS :: traceEnd ( ) ; }
docstring: Set the certificate of the CAS server CA and if the CN should be properly
  verified.
  
  @param string $cert        CA certificate file name
  @param bool   $validate_cn Validate CN in certificate (default true)
  
  @return void
docstring_tokens: Set the certificate of the CAS server CA and if the CN should be properly verified .