Class STRTransform


  • public class STRTransform
    extends org.apache.xml.security.transforms.TransformSpi
    This class STRTransform extends from TransformSpi and will be used to transform the XMLSignatureInput as required by the WS-Security specification.
    • Constructor Detail

      • STRTransform

        public STRTransform()
    • Method Detail

      • engineGetURI

        protected String engineGetURI()
        Returns the transformation engine URI.
        Specified by:
        engineGetURI in class org.apache.xml.security.transforms.TransformSpi
      • enginePerformTransform

        protected org.apache.xml.security.signature.XMLSignatureInput enginePerformTransform​(org.apache.xml.security.signature.XMLSignatureInput input,
                                                                                             OutputStream outputStream,
                                                                                             Element element,
                                                                                             String s,
                                                                                             boolean b)
                                                                                      throws IOException,
                                                                                             org.apache.xml.security.c14n.CanonicalizationException,
                                                                                             org.apache.xml.security.c14n.InvalidCanonicalizerException,
                                                                                             org.apache.xml.security.transforms.TransformationException,
                                                                                             ParserConfigurationException,
                                                                                             SAXException
        Specified by:
        enginePerformTransform in class org.apache.xml.security.transforms.TransformSpi
        Throws:
        IOException
        org.apache.xml.security.c14n.CanonicalizationException
        org.apache.xml.security.c14n.InvalidCanonicalizerException
        org.apache.xml.security.transforms.TransformationException
        ParserConfigurationException
        SAXException
      • enginePerformTransform

        protected org.apache.xml.security.signature.XMLSignatureInput enginePerformTransform​(org.apache.xml.security.signature.XMLSignatureInput input,
                                                                                             org.apache.xml.security.transforms.Transform transformObject)
                                                                                      throws IOException,
                                                                                             org.apache.xml.security.c14n.CanonicalizationException,
                                                                                             org.apache.xml.security.c14n.InvalidCanonicalizerException,
                                                                                             org.apache.xml.security.transforms.TransformationException
        Perform the XMLSignature transformation for the given input.
        Throws:
        IOException
        org.apache.xml.security.c14n.CanonicalizationException
        org.apache.xml.security.c14n.InvalidCanonicalizerException
        org.apache.xml.security.transforms.TransformationException
      • wantsOctetStream

        public boolean wantsOctetStream()
      • wantsNodeSet

        public boolean wantsNodeSet()
      • returnsOctetStream

        public boolean returnsOctetStream()
      • returnsNodeSet

        public boolean returnsNodeSet()