1 /**
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */
19 
20 /*
21  * XSEC
22  *
23  * XKMSQueryKeyBinding := Interface for QueryKeyBinding elements
24  *
25  * $Id: XKMSQueryKeyBinding.hpp 1833340 2018-06-11 15:40:13Z scantor $
26  *
27  */
28 
29 #ifndef XKMSQUERYKEYBINDING_INCLUDE
30 #define XKMSQUERYKEYBINDING_INCLUDE
31 
32 // XSEC Includes
33 
34 #include <xsec/framework/XSECDefs.hpp>
35 
36 #ifdef XSEC_XKMS_ENABLED
37 
38 #include <xsec/xkms/XKMSKeyBindingAbstractType.hpp>
39 
40 /**
41  * @ingroup xkms
42  */
43 
44 /**
45  * @brief Interface definition for the QueryKeyBinding elements
46  *
47  * The \<QueryKeyBinding\> Element is used in a request message to a server
48  * to ask the server as to whether particular key bindings are permitted for
49  * a given key.
50  *
51  * The schema definition for QueryKeyBinding is as follows :
52  *
53  * \verbatim
54    <!-- QueryKeyBinding -->
55    <element name="QueryKeyBinding" type="xkms:QueryKeyBindingType"/>
56    <complexType name="QueryKeyBindingType">
57       <complexContent>
58          <extension base="xkms:KeyBindingAbstractType">
59             <sequence>
60                <element ref="xkms:TimeInstant" minOccurs="0"/>
61             </sequence>
62          </extension>
63       </complexContent>
64    </complexType>
65    <!-- /QueryKeyBinding -->
66 \endverbatim
67  */
68 
69 
70 class XSEC_EXPORT XKMSQueryKeyBinding : public XKMSKeyBindingAbstractType {
71 
72 	/** @name Constructors and Destructors */
73 	//@{
74 
75 protected:
76 
77 	XKMSQueryKeyBinding() {};
78 
79 public:
80 
81 	virtual ~XKMSQueryKeyBinding() {};
82 
83 
84 private:
85 
86 	// Unimplemented
87 	XKMSQueryKeyBinding(const XKMSQueryKeyBinding &);
88 	XKMSQueryKeyBinding & operator = (const XKMSQueryKeyBinding &);
89 
90 };
91 
92 #endif /* XSEC_XKMS_ENABLED */
93 
94 #endif /* XKMSQUERYKEYBINDING_INCLUDE */
95