Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

DSIGTransformC14n.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2002-2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 /*
00018  * XSEC
00019  *
00020  * DSIGTransformC14n := Class that holds information about C14n transforms
00021  *
00022  * $Id: DSIGTransformC14n.hpp,v 1.13 2005/06/04 11:30:25 blautenb Exp $
00023  *
00024  */
00025 
00026 #include <xsec/dsig/DSIGTransform.hpp>
00027 
00044 class DSIG_EXPORT DSIGTransformC14n : public DSIGTransform {
00045 
00046 public:
00047 
00050     
00061     DSIGTransformC14n(const XSECEnv * env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * node);
00062 
00075     DSIGTransformC14n(const XSECEnv * env);
00076           
00085     virtual ~DSIGTransformC14n();
00086     
00088 
00092 
00100     virtual transformType getTransformType();
00101 
00109     virtual void appendTransformer(TXFMChain * input);
00110 
00120     virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * createBlankTransform(
00121         XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * parentDoc);
00122 
00130     virtual void load(void);
00131 
00133 
00137     
00153     void setCanonicalizationMethod(canonicalizationMethod method);
00154 
00164     canonicalizationMethod getCanonicalizationMethod(void);
00165 
00177     void addInclusiveNamespace(const char * ns);
00178 
00190     void DSIGTransformC14n::setInclusiveNamespaces(XMLCh * ns);
00191     
00202      const XMLCh * getPrefixList(void);
00203 
00211      void clearInclusiveNamespaces(void);
00212 
00214 
00215     
00216 private:
00217 
00218     DSIGTransformC14n();
00219     DSIGTransformC14n(const DSIGTransformC14n & theOther);
00220 
00221     void createInclusiveNamespaceNode(void);
00222 
00223 
00224     canonicalizationMethod          m_cMethod;          // The method
00225     XERCES_CPP_NAMESPACE_QUALIFIER DOMElement                       
00226                                     * mp_inclNSNode;    // Node holding the inclusive Namespaces
00227     const XMLCh                     * mp_inclNSStr;     // String holding the namespaces                            
00228 };

Generated on Sun Jul 3 17:37:25 2005 for XML-Security-C by  doxygen 1.4.2