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"); } unset($sxe->Signature); return $sxe->asXML(); } }