You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by ge...@apache.org on 2002/09/04 08:40:53 UTC
cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations ExclusiveC14NInterop.java
geuerp 2002/09/03 23:40:53
Modified: src_unitTests/org/apache/xml/security/test/c14n/implementations
ExclusiveC14NInterop.java
Log:
added HTML support
Revision Changes Path
1.5 +5 -5 xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/ExclusiveC14NInterop.java
Index: ExclusiveC14NInterop.java
===================================================================
RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/ExclusiveC14NInterop.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ExclusiveC14NInterop.java 30 Aug 2002 18:24:37 -0000 1.4
+++ ExclusiveC14NInterop.java 4 Sep 2002 06:40:53 -0000 1.5
@@ -269,12 +269,12 @@
sb.append(i + " ");
- XMLSignatureInput result =
- signature.getSignedInfo()
- .getReferencedContentAfterTransformsItem(i);
-
JavaUtils.writeBytesToFilename(
- directory + "/c14n-" + i + ".apache.txt", result.getBytes());
+ directory + "/c14n-" + i + ".apache.txt", signature.getSignedInfo()
+ .item(i).getContentsAfterTransformation().getBytes());
+ JavaUtils.writeBytesToFilename(
+ directory + "/c14n-" + i + ".apache.html", signature.getSignedInfo()
+ .item(i).getHTMLRepresentation().getBytes());
Reference reference = signature.getSignedInfo().item(i);
int length = reference.getTransforms().getLength();