00001 /* 00002 * Copyright 2004-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 * XKMSUseKeyWith := Interface for UseKeyWith Messages 00021 * 00022 * $Id: XKMSUseKeyWith.hpp,v 1.3 2005/06/04 11:30:26 blautenb Exp $ 00023 * 00024 */ 00025 00026 #ifndef XKMSUSEKEYWITH_INCLUDE 00027 #define XKMSUSEKEYWITH_INCLUDE 00028 00029 // XSEC Includes 00030 00031 #include <xsec/framework/XSECDefs.hpp> 00032 00058 class XKMSUseKeyWith { 00059 00062 00063 protected: 00064 00065 XKMSUseKeyWith() {}; 00066 00067 public: 00068 00069 virtual ~XKMSUseKeyWith() {}; 00070 00073 00078 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0; 00079 00087 virtual const XMLCh * getApplication(void) const = 0; 00088 00095 virtual const XMLCh * getIdentifier(void) const = 0; 00096 00098 00101 00108 virtual void setApplication(const XMLCh * uri) = 0; 00109 00116 virtual void setIdentifier(const XMLCh * identifier) = 0; 00117 00119 00120 00121 00122 private: 00123 00124 // Unimplemented 00125 XKMSUseKeyWith(const XKMSUseKeyWith &); 00126 XKMSUseKeyWith & operator = (const XKMSUseKeyWith &); 00127 00128 }; 00129 00130 #endif /* XKMSUSEKEYWITH_INCLUDE */