santuario-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geu...@apache.org
Subject cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations ExclusiveC14NInterop.java
Date Wed, 04 Sep 2002 06:40:53 GMT
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();
  
  
  

Mime
View raw message