You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be due to the element missing the URI attribute.
You can try the following and see if that fixes your problem:
// Sign using SHA-256 $objDSig->addReference(
$doc,
XMLSecurityDSig::SHA256,
['http://www.w3.org/2000/09/xmldsig#enveloped-signature'],
['force_uri' => true] // <----- this causes $force_uri to be true, which in turn results in the attribute URI="" being added
);
??
The text was updated successfully, but these errors were encountered: