Skip to content

Commit

Permalink
Adds support for base64 transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
bseddon committed Jul 12, 2022
1 parent 75732b8 commit d5eefc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/XMLSecurityDSig.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,9 @@ public function processTransforms( $refNode, $objData, $includeCommentNodes = tr
break;

case self::BASE64:
throw new \Exception('BASE64 Transform is not supported');
// throw new \Exception('BASE64 Transform is not supported');
$objData = base64_decode($objData->textContent);
continue 2;

case self::XSLT:
throw new \Exception('XSLT Transform is not supported');
Expand Down

0 comments on commit d5eefc2

Please sign in to comment.