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 * XKMSReissueRequest := Interface for RegisterRequest Messages 00021 * 00022 * $Id$ 00023 * 00024 */ 00025 00026 #ifndef XKMSREISSUEREQUEST_INCLUDE 00027 #define XKMSREISSUEREQUEST_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 XKMSReissueKeyBinding; 00038 00071 class XKMSReissueRequest : public XKMSRequestAbstractType { 00072 00075 00076 protected: 00077 00078 XKMSReissueRequest() {}; 00079 00080 public: 00081 00082 virtual ~XKMSReissueRequest() {}; 00083 00086 00091 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0; 00092 00102 virtual XKMSReissueKeyBinding * getReissueKeyBinding(void) const = 0; 00103 00113 virtual XKMSAuthentication * getAuthentication (void) const = 0; 00114 00126 virtual DSIGSignature * getProofOfPossessionSignature(void) const = 0; 00127 00129 00132 00143 virtual XKMSReissueKeyBinding * addReissueKeyBinding(XKMSStatus::StatusValue status) = 0; 00144 00154 virtual XKMSAuthentication * addAuthentication(void) = 0; 00155 00156 00171 virtual DSIGSignature * addProofOfPossessionSignature( 00172 canonicalizationMethod cm = CANON_C14N_NOC, 00173 signatureMethod sm = SIGNATURE_DSA, 00174 hashMethod hm = HASH_SHA1) = 0; 00175 00177 00178 private: 00179 00180 // Unimplemented 00181 XKMSReissueRequest(const XKMSReissueRequest &); 00182 XKMSReissueRequest & operator = (const XKMSReissueRequest &); 00183 00184 }; 00185 00186 #endif /* XKMSREISSUEREQUEST_INCLUDE */