00001 /* 00002 * Copyright 2003-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 * XENCCipherValue := Interface definition for CipherValue element 00021 * 00022 * $Id: XENCCipherValue.hpp,v 1.7 2005/06/04 11:30:26 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 00048 class XENCCipherValue { 00049 00052 00053 protected: 00054 00055 XENCCipherValue() {}; 00056 00057 public: 00058 00059 virtual ~XENCCipherValue() {}; 00060 00063 00074 virtual const XMLCh * getCipherString(void) const = 0; 00075 00082 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0; 00083 00085 00088 00100 virtual void setCipherString(const XMLCh * value) = 0; 00101 00103 00104 private: 00105 00106 // Unimplemented 00107 XENCCipherValue(const XENCCipherValue &); 00108 XENCCipherValue & operator = (const XENCCipherValue &); 00109 00110 }; 00111 00112 #endif /* XENCCIPHERVALUE_INCLUDE */ 00113