I've created my fork after many hours spent on debugging.
I've extended constructor with new default properties:
public function __construct($prefix='ds', $preserveWhiteSpace = false, $formatOutput = false)
I am not quite happy with implementation because it does not follow general whitespace configuration of DOMDocument object eg. this would be more straight forward to read:
$objDSig = new XMLSecurityDSig('');
$objDSig->preserveWhiteSpace = false;
$objDSig->formatOutput = false;
This is unfortunately not possible since XMLSecurityDSig object transforms signature template via DOMDocument to xml in it's constructor.
I've created my fork after many hours spent on debugging.
I've extended constructor with new default properties:
I am not quite happy with implementation because it does not follow general whitespace configuration of
DOMDocument
object eg. this would be more straight forward to read:This is unfortunately not possible since
XMLSecurityDSig
object transforms signature template viaDOMDocument
to xml in it's constructor.This is related to:
Looking forward to change PR if necessary to better incorporate it in
xmlseclibs
package.