Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php include 'Assertion.php'; class SAML2_Response { private $assertions; ..
Decoded Output download
<?php
include 'Assertion.php';
class SAML2_Response
{
private $assertions;
private $destination;
private $certificates;
private $signatureData;
public function __construct(DOMElement $P6 = NULL, $Ik)
{
$this->assertions = array();
$this->certificates = array();
if (!($P6 === NULL)) {
goto ifK;
}
return;
ifK:
$WF = Utilities::validateElement($P6);
if (!($WF !== FALSE)) {
goto R6k;
}
$this->certificates = $WF["Certificates"];
$this->signatureData = $WF;
R6k:
if (!$P6->hasAttribute("Destination")) {
goto Ax9;
}
$this->destination = $P6->getAttribute("Destination");
Ax9:
$yc = $P6->firstChild;
oD2:
if (!($yc !== NULL)) {
goto djA;
}
if (!($yc->namespaceURI !== "urn:oasis:names:tc:SAML:2.0:assertion")) {
goto B2E;
}
goto ILJ;
B2E:
if (!($yc->localName === "Assertion" || $yc->localName === "EncryptedAssertion")) {
goto vVW;
}
$this->assertions[] = new SAML2_Assertion($yc, $Ik);
vVW:
ILJ:
$yc = $yc->nextSibling;
goto oD2;
djA:
}
public function getAssertions()
{
return $this->assertions;
}
public function setAssertions(array $gi)
{
$this->assertions = $gi;
}
public function getDestination()
{
return $this->destination;
}
public function getCertificates()
{
return $this->certificates;
}
public function getSignatureData()
{
return $this->signatureData;
}
} ?>
Did this file decode correctly?
Original Code
<?php
include 'Assertion.php';
class SAML2_Response
{
private $assertions;
private $destination;
private $certificates;
private $signatureData;
public function __construct(DOMElement $P6 = NULL, $Ik)
{
$this->assertions = array();
$this->certificates = array();
if (!($P6 === NULL)) {
goto ifK;
}
return;
ifK:
$WF = Utilities::validateElement($P6);
if (!($WF !== FALSE)) {
goto R6k;
}
$this->certificates = $WF["\103\x65\162\x74\x69\146\x69\143\x61\164\145\x73"];
$this->signatureData = $WF;
R6k:
if (!$P6->hasAttribute("\x44\145\x73\164\151\156\x61\164\151\x6f\156")) {
goto Ax9;
}
$this->destination = $P6->getAttribute("\x44\x65\x73\x74\151\x6e\141\164\x69\x6f\x6e");
Ax9:
$yc = $P6->firstChild;
oD2:
if (!($yc !== NULL)) {
goto djA;
}
if (!($yc->namespaceURI !== "\x75\162\156\72\x6f\x61\163\151\163\x3a\x6e\141\155\x65\163\x3a\164\x63\72\123\x41\115\x4c\x3a\62\x2e\x30\x3a\141\163\163\145\162\x74\151\x6f\156")) {
goto B2E;
}
goto ILJ;
B2E:
if (!($yc->localName === "\x41\163\163\145\x72\x74\x69\157\x6e" || $yc->localName === "\x45\156\x63\162\x79\160\x74\x65\144\x41\163\163\145\162\164\x69\x6f\x6e")) {
goto vVW;
}
$this->assertions[] = new SAML2_Assertion($yc, $Ik);
vVW:
ILJ:
$yc = $yc->nextSibling;
goto oD2;
djA:
}
public function getAssertions()
{
return $this->assertions;
}
public function setAssertions(array $gi)
{
$this->assertions = $gi;
}
public function getDestination()
{
return $this->destination;
}
public function getCertificates()
{
return $this->certificates;
}
public function getSignatureData()
{
return $this->signatureData;
}
}
Function Calls
None |
Stats
MD5 | 8f167dfaecc594efa8bb863411acc906 |
Eval Count | 0 |
Decode Time | 56 ms |