Class ApacheCanonicalizer

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.xml.crypto.Data canonicalize​(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc)  
      javax.xml.crypto.Data canonicalize​(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc, java.io.OutputStream os)  
      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, 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
      • Methods inherited from interface javax.xml.crypto.dsig.Transform

        transform
    • Field Detail

      • LOG

        private static final org.slf4j.Logger LOG
      • apacheCanonicalizer

        protected Canonicalizer apacheCanonicalizer
      • apacheTransform

        private Transform apacheTransform
      • inclusiveNamespaces

        protected java.lang.String inclusiveNamespaces
      • params

        protected javax.xml.crypto.dsig.spec.C14NMethodParameterSpec params
      • ownerDoc

        protected org.w3c.dom.Document ownerDoc
      • transformElem

        protected org.w3c.dom.Element transformElem
    • Constructor Detail

      • ApacheCanonicalizer

        public ApacheCanonicalizer()
    • 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
      • canonicalize

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

        public javax.xml.crypto.Data canonicalize​(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
      • 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
      • isFeatureSupported

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