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 * XKMSRevokeRequest := Interface for RegisterRequest Messages 00021 * 00022 * $Id$ 00023 * 00024 */ 00025 00026 #ifndef XKMSREVOKEREQUEST_INCLUDE 00027 #define XKMSREVOKEREQUEST_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 XKMSRevokeKeyBinding; 00038 00073 class XKMSRevokeRequest : public XKMSRequestAbstractType { 00074 00077 00078 protected: 00079 00080 XKMSRevokeRequest() {}; 00081 00082 public: 00083 00084 virtual ~XKMSRevokeRequest() {}; 00085 00088 00093 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0; 00094 00104 virtual XKMSRevokeKeyBinding * getRevokeKeyBinding(void) const = 0; 00105 00115 virtual XKMSAuthentication * getAuthentication (void) const = 0; 00116 00128 virtual const XMLCh * getRevocationCode(void) const = 0; 00129 00131 00134 00145 virtual XKMSRevokeKeyBinding * addRevokeKeyBinding(XKMSStatus::StatusValue status) = 0; 00146 00156 virtual XKMSAuthentication * addAuthentication(void) = 0; 00157 00167 virtual void addRevocationCode(const XMLCh * code) = 0; 00168 00170 00171 private: 00172 00173 // Unimplemented 00174 XKMSRevokeRequest(const XKMSRevokeRequest &); 00175 XKMSRevokeRequest & operator = (const XKMSRevokeRequest &); 00176 00177 }; 00178 00179 #endif /* XKMSREVOKEREQUEST_INCLUDE */