00001 /* 00002 * Copyright 2006 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 * XKMSRecoverRequest := Interface for RegisterRequest Messages 00021 * 00022 * $Id$ 00023 * 00024 */ 00025 00026 #ifndef XKMSRECOVERREQUEST_INCLUDE 00027 #define XKMSRECOVERREQUEST_INCLUDE 00028 00029 // XSEC Includes 00030 00031 #include <xsec/framework/XSECDefs.hpp> 00032 #include <xsec/xkms/XKMSRequestAbstractType.hpp> 00033 #include <xsec/xkms/XKMSStatus.hpp> 00034 00035 class DSIGSignature; 00036 class XKMSAuthentication; 00037 class XKMSRecoverKeyBinding; 00038 00070 class XKMSRecoverRequest : public XKMSRequestAbstractType { 00071 00074 00075 protected: 00076 00077 XKMSRecoverRequest() {}; 00078 00079 public: 00080 00081 virtual ~XKMSRecoverRequest() {}; 00082 00085 00090 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0; 00091 00101 virtual XKMSRecoverKeyBinding * getRecoverKeyBinding(void) const = 0; 00102 00112 virtual XKMSAuthentication * getAuthentication (void) const = 0; 00113 00115 00118 00129 virtual XKMSRecoverKeyBinding * addRecoverKeyBinding(XKMSStatus::StatusValue status) = 0; 00130 00140 virtual XKMSAuthentication * addAuthentication(void) = 0; 00141 00143 00144 private: 00145 00146 // Unimplemented 00147 XKMSRecoverRequest(const XKMSRecoverRequest &); 00148 XKMSRecoverRequest & operator = (const XKMSRecoverRequest &); 00149 00150 }; 00151 00152 #endif /* XKMSRECOVERREQUEST_INCLUDE */