We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
It's my first use of Xml signature , giving the good implementation of your library i used it and i think you for your work.
Actually, the API that i consume didn't accept the transforms element and breaks if it's present. I read the official documentation of xmlDSig and i found that the transforms element is optionnal. The implemenation here does not permit it ufortunately.
I suggest to surround the transforms node creation and it's traitement after in if condition. https://github.com/robrichards/xmlseclibs/blob/master/src/XMLSecurityDSig.php#L665-L666
exp :
if (!empty($options['transforms'])) { $transNodes = $this->createNewSignNode('Transforms'); $refNode->appendChild($transNodes); if (is_array($arTransforms)) { .......................... } elseif (! empty($this->canonicalMethod)) { ................................ } }
Regards. Raouf.
The text was updated successfully, but these errors were encountered:
Please can you consider/review my request.
Thanks. Raouf.
Sorry, something went wrong.
Hello @robrichards can you please make a review for my issue/PR ?
Thanks, Raouf.
No branches or pull requests
Hello,
It's my first use of Xml signature , giving the good implementation of your library i used it and i think you for your work.
Actually, the API that i consume didn't accept the transforms element and breaks if it's present. I read the official documentation of xmlDSig and i found that the transforms element is optionnal. The implemenation here does not permit it ufortunately.
I suggest to surround the transforms node creation and it's traitement after in if condition.
https://github.com/robrichards/xmlseclibs/blob/master/src/XMLSecurityDSig.php#L665-L666
exp :
if (!empty($options['transforms'])) {
$transNodes = $this->createNewSignNode('Transforms');
$refNode->appendChild($transNodes);
if (is_array($arTransforms)) {
..........................
} elseif (! empty($this->canonicalMethod)) {
................................
}
}
Regards.
Raouf.
The text was updated successfully, but these errors were encountered: