Skip to content

Commit

Permalink
Corrigindo tag a ser assinada
Browse files Browse the repository at this point in the history
  • Loading branch information
gersonfs committed Jul 1, 2024
1 parent db5f452 commit b3f5418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SignerMultiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function testSign(): void
$xml .= '</a>';

$xmlSignTagB = SignerMulti::sign($certificate, $xml, 'b', 'Id', OPENSSL_ALGO_SHA1, SignerMulti::CANONICAL, 'b');
$xmlsignTagA = SignerMulti::sign($certificate, $xmlSignTagB, 'b', 'Id', OPENSSL_ALGO_SHA1, SignerMulti::CANONICAL, 'a');
$xmlsignTagA = SignerMulti::sign($certificate, $xmlSignTagB, 'a', 'Id', OPENSSL_ALGO_SHA1, SignerMulti::CANONICAL, 'a');

$dom = new \DOMDocument('1.0', 'utf-8');
$dom->loadXML($xmlsignTagA);
Expand Down

0 comments on commit b3f5418

Please sign in to comment.