import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
* @subpackage Zend_InfoCard_Xml_Security
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: EnvelopedSignature.php 9094 2008-03-30 18:36:55Z thomas $
|
||||
* @version $Id: EnvelopedSignature.php 13213 2008-12-14 11:05:07Z thomas $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -25,11 +25,6 @@
|
||||
*/
|
||||
require_once 'Zend/InfoCard/Xml/Security/Transform/Interface.php';
|
||||
|
||||
/**
|
||||
* Zend_InfoCard_Xml_Security_Transform_Exception
|
||||
*/
|
||||
require_once 'Zend/InfoCard/Xml/Security/Transform/Exception.php';
|
||||
|
||||
/**
|
||||
* A object implementing the EnvelopedSignature XML Transform
|
||||
*
|
||||
@ -54,6 +49,7 @@ class Zend_InfoCard_Xml_Security_Transform_EnvelopedSignature
|
||||
$sxe = simplexml_load_string($strXMLData);
|
||||
|
||||
if(!$sxe->Signature) {
|
||||
require_once 'Zend/InfoCard/Xml/Security/Transform/Exception.php';
|
||||
throw new Zend_InfoCard_Xml_Security_Transform_Exception("Unable to locate Signature Block for EnvelopedSignature Transform");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user