Class ApacheTransform

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Transform apacheTransform  
      private static org.slf4j.Logger LOG  
      protected org.w3c.dom.Document ownerDoc  
      protected javax.xml.crypto.dsig.spec.TransformParameterSpec params  
      protected org.w3c.dom.Element transformElem  
      • Fields inherited from interface javax.xml.crypto.dsig.Transform

        BASE64, ENVELOPED, XPATH, XPATH2, XSLT
    • Constructor Summary

      Constructors 
      Constructor Description
      ApacheTransform()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.security.spec.AlgorithmParameterSpec getParameterSpec()  
      void init​(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context)  
      boolean isFeatureSupported​(java.lang.String feature)  
      void marshalParams​(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context)  
      javax.xml.crypto.Data transform​(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc)  
      javax.xml.crypto.Data transform​(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc, java.io.OutputStream os)  
      private javax.xml.crypto.Data transformIt​(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc, java.io.OutputStream os)  
      • Methods inherited from class javax.xml.crypto.dsig.TransformService

        getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider, init
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final org.slf4j.Logger LOG
      • apacheTransform

        private Transform apacheTransform
      • ownerDoc

        protected org.w3c.dom.Document ownerDoc
      • transformElem

        protected org.w3c.dom.Element transformElem
      • params

        protected javax.xml.crypto.dsig.spec.TransformParameterSpec params
    • Constructor Detail

      • ApacheTransform

        public ApacheTransform()
    • Method Detail

      • getParameterSpec

        public final java.security.spec.AlgorithmParameterSpec getParameterSpec()
      • init

        public void init​(javax.xml.crypto.XMLStructure parent,
                         javax.xml.crypto.XMLCryptoContext context)
                  throws java.security.InvalidAlgorithmParameterException
        Specified by:
        init in class javax.xml.crypto.dsig.TransformService
        Throws:
        java.security.InvalidAlgorithmParameterException
      • marshalParams

        public void marshalParams​(javax.xml.crypto.XMLStructure parent,
                                  javax.xml.crypto.XMLCryptoContext context)
                           throws javax.xml.crypto.MarshalException
        Specified by:
        marshalParams in class javax.xml.crypto.dsig.TransformService
        Throws:
        javax.xml.crypto.MarshalException
      • transform

        public javax.xml.crypto.Data transform​(javax.xml.crypto.Data data,
                                               javax.xml.crypto.XMLCryptoContext xc)
                                        throws javax.xml.crypto.dsig.TransformException
        Throws:
        javax.xml.crypto.dsig.TransformException
      • transform

        public javax.xml.crypto.Data transform​(javax.xml.crypto.Data data,
                                               javax.xml.crypto.XMLCryptoContext xc,
                                               java.io.OutputStream os)
                                        throws javax.xml.crypto.dsig.TransformException
        Throws:
        javax.xml.crypto.dsig.TransformException
      • transformIt

        private javax.xml.crypto.Data transformIt​(javax.xml.crypto.Data data,
                                                  javax.xml.crypto.XMLCryptoContext xc,
                                                  java.io.OutputStream os)
                                           throws javax.xml.crypto.dsig.TransformException
        Throws:
        javax.xml.crypto.dsig.TransformException
      • isFeatureSupported

        public final boolean isFeatureSupported​(java.lang.String feature)