org.jcp.xml.dsig.internal.dom

Class ApacheCanonicalizer

  • java.lang.Object
    • javax.xml.crypto.dsig.TransformService
      • org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected com.sun.org.apache.xml.internal.security.c14n.Canonicalizer apacheCanonicalizer 
      protected java.lang.String inclusiveNamespaces 
      protected org.w3c.dom.Document ownerDoc 
      protected javax.xml.crypto.dsig.spec.C14NMethodParameterSpec params 
      protected org.w3c.dom.Element transformElem 
      • Fields inherited from interface javax.xml.crypto.dsig.Transform

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

      Methods 
      Modifier and Type Method and 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

      • apacheCanonicalizer

        protected com.sun.org.apache.xml.internal.security.c14n.Canonicalizer apacheCanonicalizer
      • 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)

© Portions Copyright 2003, 2014 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2014 Oracle and/or its affiliates. All rights reserved.