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 * XKMSValidityInterval := Interface for ValidityInterval elements 00021 * 00022 * $Id: XKMSValidityInterval.hpp,v 1.3 2005/06/04 11:30:26 blautenb Exp $ 00023 * 00024 */ 00025 00026 #ifndef XKMSVALIDITYINTERVAL_INCLUDE 00027 #define XKMSVALIDITYINTERVAL_INCLUDE 00028 00029 // XSEC Includes 00030 00031 #include <xsec/framework/XSECDefs.hpp> 00032 00056 class XKMSValidityInterval { 00057 00060 00061 protected: 00062 00063 XKMSValidityInterval() {}; 00064 00065 public: 00066 00067 virtual ~XKMSValidityInterval() {}; 00068 00070 00073 00083 virtual const XMLCh * getNotBefore(void) const = 0; 00084 00094 virtual const XMLCh * getNotOnOrAfter(void) const = 0; 00095 00097 00100 00110 virtual void setNotBefore(const XMLCh * val) = 0; 00111 00121 virtual void setNotOnOrAfter(const XMLCh * val) = 0; 00122 00124 00125 private: 00126 00127 // Unimplemented 00128 XKMSValidityInterval(const XKMSValidityInterval &); 00129 XKMSValidityInterval & operator = (const XKMSValidityInterval &); 00130 00131 }; 00132 00133 #endif /* XKMSVALIDITYINTERVAL_INCLUDE */