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

DSIGTransformC14n.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2002-2004 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  * imitations 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.10 2004/02/08 10:20:52 blautenb Exp $
00023  *
00024  */
00025 
00026 #include <xsec/dsig/DSIGTransform.hpp>
00027 
00045 class DSIG_EXPORT DSIGTransformC14n : public DSIGTransform {
00046 
00047 public:
00048 
00051     
00062     DSIGTransformC14n(const XSECEnv * env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * node);
00063 
00076     DSIGTransformC14n(const XSECEnv * env);
00077           
00086     virtual ~DSIGTransformC14n();
00087     
00089 
00093 
00101     virtual transformType getTransformType();
00102 
00110     virtual void appendTransformer(TXFMChain * input);
00111 
00121     virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * createBlankTransform(
00122         XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * parentDoc);
00123 
00131     virtual void load(void);
00132 
00134 
00138     
00154     void setCanonicalizationMethod(canonicalizationMethod method);
00155 
00165     canonicalizationMethod getCanonicalizationMethod(void);
00166 
00178     void addInclusiveNamespace(const char * ns);
00179 
00191     void DSIGTransformC14n::setInclusiveNamespaces(XMLCh * ns);
00192     
00203      const XMLCh * getPrefixList(void);
00204 
00212      void clearInclusiveNamespaces(void);
00213 
00215 
00216     
00217 private:
00218 
00219     DSIGTransformC14n();
00220     DSIGTransformC14n(const DSIGTransformC14n & theOther);
00221 
00222     void createInclusiveNamespaceNode(void);
00223 
00224 
00225     canonicalizationMethod          m_cMethod;          // The method
00226     XERCES_CPP_NAMESPACE_QUALIFIER DOMElement                       
00227                                     * mp_inclNSNode;    // Node holding the inclusive Namespaces
00228     const XMLCh                     * mp_inclNSStr;     // String holding the namespaces                            
00229 };

Generated on Sun Mar 14 21:35:27 2004 for XML-Security-C by doxygen 1.3.2