00001 /* 00002 * Copyright 2003-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 * XENCCipherValue := Interface definition for CipherValue element 00021 * 00022 * $Id: XENCCipherValue.hpp,v 1.5 2004/02/08 10:26:00 blautenb Exp $ 00023 * 00024 */ 00025 00026 #ifndef XENCCIPHERVALUE_INCLUDE 00027 #define XENCCIPHERVALUE_INCLUDE 00028 00029 // XSEC Includes 00030 00031 #include <xsec/framework/XSECDefs.hpp> 00032 00033 XSEC_DECLARE_XERCES_CLASS(DOMElement); 00034 00049 class XENCCipherValue { 00050 00053 00054 protected: 00055 00056 XENCCipherValue() {}; 00057 00058 public: 00059 00060 virtual ~XENCCipherValue() {}; 00061 00064 00075 virtual const XMLCh * getCipherString(void) const = 0; 00076 00083 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0; 00084 00086 00089 00101 virtual void setCipherString(const XMLCh * value) = 0; 00102 00104 00105 private: 00106 00107 // Unimplemented 00108 XENCCipherValue(const XENCCipherValue &); 00109 XENCCipherValue & operator = (const XENCCipherValue &); 00110 00111 }; 00112 00113 #endif /* XENCCIPHERVALUE_INCLUDE */ 00114