FileDocCategorySizeDatePackage
TransformC14NWithComments.javaAPI DocJava SE 6 API2478Tue Jun 10 00:23:04 BST 2008com.sun.org.apache.xml.internal.security.transforms.implementations

TransformC14NWithComments

public class TransformC14NWithComments extends TransformSpi
Implements the http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments transform.
author
Christian Geuer-Pollmann

Fields Summary
public static final String
implementedTransformURI
Field implementedTransformURI
Constructors Summary
Methods Summary
protected java.lang.StringengineGetURI()

inheritDoc



     
      
      return implementedTransformURI;
   
protected com.sun.org.apache.xml.internal.security.signature.XMLSignatureInputenginePerformTransform(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput input)

inheritDoc

   	    return enginePerformTransform(input,null);
   
protected com.sun.org.apache.xml.internal.security.signature.XMLSignatureInputenginePerformTransform(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput input, java.io.OutputStream os)

inheritDoc

      
        Canonicalizer20010315WithComments c14n = new Canonicalizer20010315WithComments();
        if (os!=null) {
        	c14n.setWriter( os);
        }
        
         byte[] result = null;
         input.setNeedsToBeExpanded(true);
         result=c14n.engineCanonicalize(input);         		         	         
         XMLSignatureInput output=new XMLSignatureInput(result);         
         if (os!=null) {
         	output.setOutputStream(os);
         }
         return output;