re-arranging files for pcu control
[monitor.git] / cmdamt / Include / WSDL / EndpointAccessControlInterface.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema 
3     xmlns:xs="http://www.w3.org/2001/XMLSchema"
4     xmlns:cmn="http://schemas.intel.com/platform/client/Common/2006/01"     
5     xmlns:sai="http://schemas.intel.com/platform/client/SecurityAdministration/2004/01"     
6     xmlns:cstr="http://schemas.intel.com/platform/client/CertStore/2006/01"    
7     xmlns:eac="http://schemas.intel.com/platform/client/EAC/2006/01"
8     targetNamespace="http://schemas.intel.com/platform/client/EAC/2006/01"
9     elementFormDefault="qualified">
10
11     <!-- Imported namespaces -->
12     <xs:import namespace="http://schemas.intel.com/platform/client/Common/2006/01" schemaLocation="Common.xsd"/>
13     <xs:import namespace="http://schemas.intel.com/platform/client/CertStore/2006/01" schemaLocation="CertStore.xsd"/>
14     <xs:import namespace="http://schemas.intel.com/platform/client/SecurityAdministration/2004/01" schemaLocation="SecurityAdministrationInterface.xsd"/>
15
16     
17     <!-- Data Types -->
18     
19     <xs:simpleType name="PostureTypeType">
20         <xs:restriction base="xs:string">
21             <xs:enumeration value="PostureAvpTypeFull"/>
22         </xs:restriction>
23     </xs:simpleType>
24     <xs:simpleType name="PostureUpdateType">
25         <xs:restriction base="xs:string">
26             <xs:enumeration value="PostureUpdateBootCounters"/>
27         </xs:restriction>
28     </xs:simpleType>
29
30     <!-- Commands -->
31
32     <xs:element name="SetPostureSigner">
33         <xs:complexType>
34             <xs:sequence>
35                 <xs:element name="SignCertificateHandle" type="sai:CertificateHandleType" minOccurs="0"/>
36             </xs:sequence>
37         </xs:complexType>
38     </xs:element>
39     <xs:element name="SetPostureSignerResponse">
40         <xs:complexType>
41             <xs:sequence>
42                 <xs:element name="StatusCode" type="cmn:PT_STATUS"/>
43             </xs:sequence>
44         </xs:complexType>
45     </xs:element>
46     <xs:element name="GetPostureSigner">
47         <xs:complexType>
48             <xs:sequence>
49             </xs:sequence>
50         </xs:complexType>
51     </xs:element>
52     <xs:element name="GetPostureSignerResponse">
53         <xs:complexType>
54             <xs:sequence>
55                 <xs:element name="StatusCode" type="cmn:PT_STATUS"/>
56                 <xs:element name="SignCertificateHandle" type="sai:CertificateHandleType" minOccurs="0"/>
57             </xs:sequence>
58         </xs:complexType>
59     </xs:element>
60     <xs:element name="GetEACStatus">
61         <xs:complexType>
62             <xs:sequence>
63             </xs:sequence>
64         </xs:complexType>
65     </xs:element>
66     <xs:element name="GetEACStatusResponse">
67         <xs:complexType>
68             <xs:sequence>
69                 <xs:element name="StatusCode" type="cmn:PT_STATUS"/>
70                 <xs:element name="Enabled" type="xs:boolean"/>
71             </xs:sequence>
72         </xs:complexType>
73     </xs:element>
74     <xs:element name="EnableEAC">
75         <xs:complexType>
76             <xs:sequence>
77                 <xs:element name="Enabled" type="xs:boolean"/>
78             </xs:sequence>
79         </xs:complexType>
80     </xs:element>
81     <xs:element name="EnableEACResponse">
82         <xs:complexType>
83             <xs:sequence>
84                 <xs:element name="StatusCode" type="cmn:PT_STATUS"/>
85             </xs:sequence>
86         </xs:complexType>
87     </xs:element>
88     <xs:element name="UpdatePostureState">
89         <xs:complexType>
90             <xs:sequence>
91                 <xs:element name="PostureUpdate" type="eac:PostureUpdateType"/>
92             </xs:sequence>
93         </xs:complexType>
94     </xs:element>
95     <xs:element name="UpdatePostureStateResponse">
96         <xs:complexType>
97             <xs:sequence>
98                 <xs:element name="StatusCode" type="cmn:PT_STATUS"/>
99             </xs:sequence>
100         </xs:complexType>
101     </xs:element>
102     <xs:element name="GetPosture">
103         <xs:complexType>
104             <xs:sequence>
105                 <xs:element name="PostureType" type="eac:PostureTypeType"/>
106             </xs:sequence>
107         </xs:complexType>
108     </xs:element>
109     <xs:element name="GetPostureResponse">
110         <xs:complexType>
111             <xs:sequence>
112                 <xs:element name="StatusCode" type="cmn:PT_STATUS"/>
113                 <xs:element name="SignedPosture" type="xs:base64Binary"/>
114                 <xs:element name="PostureChangeHash" type="xs:base64Binary"/>
115             </xs:sequence>
116         </xs:complexType>
117     </xs:element>
118     <xs:element name="GetPostureHash">
119         <xs:complexType>
120             <xs:sequence>
121                 <xs:element name="PostureType" type="eac:PostureTypeType"/>
122             </xs:sequence>
123         </xs:complexType>
124     </xs:element>
125     <xs:element name="GetPostureHashResponse">
126         <xs:complexType>
127             <xs:sequence>
128                 <xs:element name="StatusCode" type="cmn:PT_STATUS"/>
129                 <xs:element name="PostureChangeHash" type="xs:base64Binary"/>
130             </xs:sequence>
131         </xs:complexType>
132     </xs:element>
133
134
135 </xs:schema>