@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | class Signer |
34 | 34 | { |
35 | - const CANONICAL = [true,false,null,null]; |
|
35 | + const CANONICAL = [true, false, null, null]; |
|
36 | 36 | |
37 | 37 | /** |
38 | 38 | * Make Signature tag |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | $nsSignatureMethod = 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256'; |
119 | 119 | $nsDigestMethod = 'http://www.w3.org/2001/04/xmlenc#sha256'; |
120 | 120 | } |
121 | - $nsTransformMethod1 ='http://www.w3.org/2000/09/xmldsig#enveloped-signature'; |
|
121 | + $nsTransformMethod1 = 'http://www.w3.org/2000/09/xmldsig#enveloped-signature'; |
|
122 | 122 | $nsTransformMethod2 = 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315'; |
123 | 123 | $idSigned = trim($node->getAttribute($mark)); |
124 | 124 | $digestValue = self::makeDigest($node, $digestAlgorithm, $canonical); |