You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by ra...@apache.org on 2006/08/22 18:26:40 UTC

svn commit: r433683 - in /xml/security/trunk: CHANGELOG.txt src/org/apache/xml/security/signature/SignedInfo.java

Author: raul
Date: Tue Aug 22 09:26:36 2006
New Revision: 433683

URL: http://svn.apache.org/viewvc?rev=433683&view=rev
Log:
Fixed bug 40290

Modified:
    xml/security/trunk/CHANGELOG.txt
    xml/security/trunk/src/org/apache/xml/security/signature/SignedInfo.java

Modified: xml/security/trunk/CHANGELOG.txt
URL: http://svn.apache.org/viewvc/xml/security/trunk/CHANGELOG.txt?rev=433683&r1=433682&r2=433683&view=diff
==============================================================================
--- xml/security/trunk/CHANGELOG.txt (original)
+++ xml/security/trunk/CHANGELOG.txt Tue Aug 22 09:26:36 2006
@@ -1,5 +1,7 @@
 Changelog for "Apache xml-security" <http://xml.apache.org/security/>
 New in ...
+	Fixed bug 40290.
+
 New in v1.4beta2
     Optimization in c14n in node-sets.
 	Optimization for the xml:* inheritance in inclusive  c14n.
@@ -11,6 +13,7 @@
 	Fixed bug 40245 in XPATH2 transformation(only in development version)
 	Fixed bug no resolver for X509Data with just a X509Certificate.	
 	Optimization in Base64 to do simple transformation from String to  byte[]
+
 New in v1.4beta1
     Fixed bug 40032. Fixed BUG 40031 Fixed bug when the prefix digital signature uri is not null.
 	Changes in the NodeFilter API in order to let the transformations

Modified: xml/security/trunk/src/org/apache/xml/security/signature/SignedInfo.java
URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/apache/xml/security/signature/SignedInfo.java?rev=433683&r1=433682&r2=433683&view=diff
==============================================================================
--- xml/security/trunk/src/org/apache/xml/security/signature/SignedInfo.java (original)
+++ xml/security/trunk/src/org/apache/xml/security/signature/SignedInfo.java Tue Aug 22 09:26:36 2006
@@ -133,10 +133,13 @@
               throws XMLSecurityException {
 
       super(doc);
-
       this._constructionElement.appendChild(CanonicalizationMethodElem);
       XMLUtils.addReturnToElement(this._constructionElement);
-
+      //Check this?
+      this.c14nMethod=CanonicalizationMethodElem;
+      this._constructionElement.appendChild(c14nMethod);
+      XMLUtils.addReturnToElement(this._constructionElement);
+   
       this._signatureAlgorithm = new SignatureAlgorithm(SignatureMethodElem, null);
 
       signatureMethod=this._signatureAlgorithm.getElement();