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 * XKMSPrototypeKeyBinding := Interface for KeyBinding elements 00021 * 00022 * $Id: XKMSPrototypeKeyBinding.hpp,v 1.3 2005/06/04 11:30:26 blautenb Exp $ 00023 * 00024 */ 00025 00026 #ifndef XKMSPROTOTYPEKEYBINDING_INCLUDE 00027 #define XKMSPROTOTYPEKEYBINDING_INCLUDE 00028 00029 // XSEC Includes 00030 00031 #include <xsec/framework/XSECDefs.hpp> 00032 #include <xsec/xkms/XKMSKeyBindingAbstractType.hpp> 00033 00034 class XKMSValidityInterval; 00035 00065 class XKMSStatus; 00066 00067 class XKMSPrototypeKeyBinding : public XKMSKeyBindingAbstractType { 00068 00071 00072 protected: 00073 00074 XKMSPrototypeKeyBinding() {}; 00075 00076 public: 00077 00078 virtual ~XKMSPrototypeKeyBinding() {}; 00079 00081 00084 00094 virtual XKMSValidityInterval * getValidityInterval(void) const = 0; 00095 00111 virtual const XMLCh * getRevocationCodeIdentifier(void) const = 0; 00112 00114 00117 00125 virtual void setValidityInterval(const XMLCh * notBefore, const XMLCh * notOnOrAfter) = 0; 00126 00135 virtual void setRevocationCodeIdentifier(const XMLCh * identifier) = 0; 00136 00138 00139 private: 00140 00141 // Unimplemented 00142 XKMSPrototypeKeyBinding(const XKMSPrototypeKeyBinding &); 00143 XKMSPrototypeKeyBinding & operator = (const XKMSPrototypeKeyBinding &); 00144 00145 }; 00146 00147 #endif /* XKMSPROTOTYPEKEYBINDING_INCLUDE */