Source
$res = Utils::validateXML($this->decryptedDocument, 'saml-schema-protocol-2.0.xsd', $this->_settings->isDebugActive(), $this->_settings->getSchemasPath());
<?php
/**
* This file is part of php-saml.
*
* (c) OneLogin Inc
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @package OneLogin
* @author OneLogin Inc <saml-info@onelogin.com>
* @license MIT https://github.com/onelogin/php-saml/blob/master/LICENSE
* @link https://github.com/onelogin/php-saml
*/
namespace OneLogin\Saml2;
use RobRichards\XMLSecLibs\XMLSecurityKey;
use RobRichards\XMLSecLibs\XMLSecEnc;
use DOMDocument;
use DOMNodeList;
use DOMXPath;
use Exception;
/**
* SAML 2 Authentication Response
*/
class Response
{
/**
* Settings
*
* @var Settings
*/
protected $_settings;
/**
* The decoded, unprocessed XML response provided to the constructor.
*
* @var string
*/
public $response;
/**
* A DOMDocument class loaded from the SAML Response.
*
* @var DOMDocument
*/
public $document;
/**
* A DOMDocument class loaded from the SAML Response (Decrypted).
*
* @var DOMDocument
*/
public $decryptedDocument;
/**
* The response contains an encrypted assertion.
*
* @var bool
*/