public function getResult(array $certificates): PathValidationResult
    {
        return new PathValidationResult($certificates, $this->_validPolicyTree,
            $this->_workingPublicKey, $this->_workingPublicKeyAlgorithm,
            $this->_workingPublicKeyParameters);
    }
public function getResult(array $certificates): PathValidationResult
    {
        return new PathValidationResult($certificates, $this->_validPolicyTree,
            $this->_workingPublicKey, $this->_workingPublicKeyAlgorithm,
            $this->_workingPublicKeyParameters);
    }
public function getResult ( array $ certificates ) : PathValidationResult { return new PathValidationResult ( $ certificates , $ this -> _validPolicyTree , $ this -> _workingPublicKey , $ this -> _workingPublicKeyAlgorithm , $ this -> _workingPublicKeyParameters ) ; }
Get the path validation result.

@param Certificate[] $certificates Certificates in a certification path
@return PathValidationResult
Get the path validation result .