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

DSIGKeyInfoMgmtData.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  * DSIGKeyInfoMgmtData := MgmtData - used for conveying in-band key data
00021  *
00022  * Author(s): Berin Lautenbach
00023  *
00024  * $Id: DSIGKeyInfoMgmtData.hpp,v 1.6 2004/02/08 10:20:51 blautenb Exp $
00025  *
00026  */
00027 
00028 #ifndef DSIGKEYINFOMGMTDATA_INCLUDE
00029 #define DSIGKEYINFOMGMTDATA_INCLUDE
00030 
00031 #include <xsec/dsig/DSIGKeyInfo.hpp>
00032 #include <xsec/utils/XSECPlatformUtils.hpp>
00033 
00034 XSEC_DECLARE_XERCES_CLASS(DOMElement);
00035 
00052 class DSIG_EXPORT DSIGKeyInfoMgmtData : public DSIGKeyInfo {
00053 
00054 public:
00055 
00058 
00069     DSIGKeyInfoMgmtData(const XSECEnv * env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *nameNode);
00070 
00081     DSIGKeyInfoMgmtData(const XSECEnv * env);
00082 
00087     virtual ~DSIGKeyInfoMgmtData();
00088 
00090 
00093 
00098     virtual void load(void);
00099 
00104     virtual const XMLCh * getKeyName(void) {return NULL;}
00105 
00114     virtual const XMLCh * getData(void) {return mp_data;};
00115 
00117 
00120     
00131     XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * createBlankMgmtData(const XMLCh * data);
00132 
00141     void setData(const XMLCh * data);
00142 
00144 
00147     
00152     virtual keyInfoType getKeyInfoType(void) {return DSIGKeyInfo::KEYINFO_MGMTDATA;}
00153 
00155 
00156 private:
00157 
00158     DSIGKeyInfoMgmtData();                      // Non-implemented constructor
00159 
00160     const XMLCh         * mp_data;              // The Data stored in the XML file
00161     XERCES_CPP_NAMESPACE_QUALIFIER DOMNode              
00162                         * mp_dataTextNode;      // Text node containing the name
00163 
00164 };
00165 
00166 
00167 
00168 #endif /* #define DSIGKEYINFOMGMTDATA_INCLUDE */
00169 

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