Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

XKMSReissueResult.hpp

Go to the documentation of this file.
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  * XKMSReissueResult := Interface for RegisterResult Messages
00021  *
00022  * $Id$
00023  *
00024  */
00025 
00026 #ifndef XKMSREISSUERESULT_INCLUDE
00027 #define XKMSREISSUERESULT_INCLUDE
00028 
00029 // XSEC Includes
00030 
00031 #include <xsec/framework/XSECDefs.hpp>
00032 #include <xsec/xkms/XKMSResultType.hpp>
00033 #include <xsec/xkms/XKMSStatus.hpp>
00034 
00035 class XKMSKeyBinding;
00036 
00067 class XKMSReissueResult : public XKMSResultType {
00068 
00071 
00072 protected:
00073 
00074     XKMSReissueResult() {};
00075 
00076 public:
00077 
00078     virtual ~XKMSReissueResult() {};
00079 
00082 
00087     virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0;
00088 
00090 
00093 
00100     virtual int getKeyBindingSize(void) const = 0;
00101 
00102     /*
00103      * \brief Obtain an KeyBinding item
00104      *
00105      * @param item Index of the item to return (0 = first element)
00106      * @returns the KeyBinding referenced by "item"
00107      */
00108 
00109     virtual XKMSKeyBinding * getKeyBindingItem(int item) const = 0;
00110 
00111     /*
00112      * \brief Append a new KeyBinding element
00113      *
00114      * Allows callers to append a new KeyBinding item.
00115      * The item is initially empty of KeyInfo elements - these must be added
00116      * by the caller.
00117      *
00118      * @param status The status (Valid, Invalid or Indeterminate) of this
00119      * key
00120      * @returns the newly created KeyBinding object (already inserted
00121      * in the ReissueResult
00122      */
00123 
00124     virtual XKMSKeyBinding * appendKeyBindingItem(XKMSStatus::StatusValue status) = 0;
00125 
00127 
00128 private:
00129 
00130     // Unimplemented
00131     XKMSReissueResult(const XKMSReissueResult &);
00132     XKMSReissueResult & operator = (const XKMSReissueResult &);
00133 
00134 };
00135 
00136 #endif /* XKMSREISSUERESULT_INCLUDE */

Generated on Sun Jan 28 19:37:23 2007 for XML-Security-C by  doxygen 1.4.2