public function setSslCaCert ($caCertPath,$validate_cn=true)
    {
        if ($this->_sent) {
            throw new CAS_OutOfSequenceException(
                'Request has already been sent cannot '.__METHOD__
            );
        }
        $this->caCertPath = $caCertPath;
        $this->validateCN = $validate_cn;
    }
public function setSslCaCert ($caCertPath,$validate_cn=true)
    {
        if ($this->_sent) {
            throw new CAS_OutOfSequenceException(
                'Request has already been sent cannot '.__METHOD__
            );
        }
        $this->caCertPath = $caCertPath;
        $this->validateCN = $validate_cn;
    }
public function setSslCaCert ( $ caCertPath , $ validate_cn = true ) { if ( $ this -> _sent ) { throw new CAS_OutOfSequenceException ( 'Request has already been sent cannot ' . __METHOD__ ) ; } $ this -> caCertPath = $ caCertPath ; $ this -> validateCN = $ validate_cn ; }
Specify the path to an SSL CA certificate to validate the server with.

@param string $caCertPath  path to cert
@param bool   $validate_cn valdiate CN of certificate

@return void
@throws CAS_OutOfSequenceException If called after the Request has been sent.
Specify the path to an SSL CA certificate to validate the server with .