blob: d721ce43e98264c6ed6d9c4188a4271627578d79 [file] [log] [blame]
Marri Devender Raod45d2d02019-01-21 10:11:34 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Gunnar Mills262d7d42021-01-20 16:28:41 -06004<!--# Redfish Schema: CertificateService v1.0.4 -->
Marri Devender Raod45d2d02019-01-21 10:11:34 -06005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Gunnar Millsa778c022020-05-12 12:20:36 -05008<!--# Copyright 2014-2020 DMTF. -->
Marri Devender Raod45d2d02019-01-21 10:11:34 -06009<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################ -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16 </edmx:Reference>
17 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19 </edmx:Reference>
20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22 </edmx:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24 <edmx:Include Namespace="Resource.v1_0_0"/>
25 </edmx:Reference>
26 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/CertificateLocations_v1.xml">
27 <edmx:Include Namespace="CertificateLocations"/>
28 </edmx:Reference>
29 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/CertificateCollection_v1.xml">
30 <edmx:Include Namespace="CertificateCollection"/>
31 </edmx:Reference>
32 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Certificate_v1.xml">
33 <edmx:Include Namespace="Certificate"/>
34 </edmx:Reference>
35
36 <edmx:DataServices>
37
38 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CertificateService">
39 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
40
41 <EntityType Name="CertificateService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Gunnar Mills844b4152020-06-22 12:44:09 -050042 <Annotation Term="OData.Description" String="The CertificateService schema describes a certificate service that represents the actions available to manage certificates and links to the certificates."/>
43 <Annotation Term="OData.LongDescription" String="This resource shall represent the certificate service properties for a Redfish implementation."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060044 <Annotation Term="Capabilities.InsertRestrictions">
45 <Record>
46 <PropertyValue Property="Insertable" Bool="false"/>
47 </Record>
48 </Annotation>
49 <Annotation Term="Capabilities.UpdateRestrictions">
50 <Record>
51 <PropertyValue Property="Updatable" Bool="false"/>
52 </Record>
53 </Annotation>
54 <Annotation Term="Capabilities.DeleteRestrictions">
55 <Record>
56 <PropertyValue Property="Deletable" Bool="false"/>
57 </Record>
58 </Annotation>
59 <Annotation Term="Redfish.Uris">
60 <Collection>
61 <String>/redfish/v1/CertificateService</String>
62 </Collection>
63 </Annotation>
64 </EntityType>
65
66 <Action Name="GenerateCSR" IsBound="true">
Gunnar Mills844b4152020-06-22 12:44:09 -050067 <Annotation Term="OData.Description" String="This action makes a certificate signing request."/>
Gunnar Mills262d7d42021-01-20 16:28:41 -060068 <Annotation Term="OData.LongDescription" String="This action shall make a certificate signing request. The response shall contain a signing request that a certificate authority (CA) will sign. The service should retain the private key that was generated during this request for installation of the certificate. The private key should not be part of the response."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060069 <Parameter Name="CertificateService" Type="CertificateService.v1_0_0.Actions"/>
70 <Parameter Name="CommonName" Type="Edm.String" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070071 <Annotation Term="OData.Description" String="The fully qualified domain name of the component to secure."/>
72 <Annotation Term="OData.LongDescription" String="This parameter shall contain the fully qualified domain name of the component to secure, as defined by the RFC5280 'commonName' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060073 </Parameter>
74 <Parameter Name="AlternativeNames" Type="Collection(Edm.String)">
Ed Tanouscb103132019-10-08 11:34:22 -070075 <Annotation Term="OData.Description" String="The additional host names of the component to secure."/>
76 <Annotation Term="OData.LongDescription" String="This parameter shall contain an array of additional host names of the component to secure, as defined by the RFC5280 'subjectAltName' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060077 </Parameter>
78 <Parameter Name="Organization" Type="Edm.String" Nullable="false">
79 <Annotation Term="OData.Description" String="The name of the organization making the request."/>
Ed Tanouscb103132019-10-08 11:34:22 -070080 <Annotation Term="OData.LongDescription" String="This parameter shall contain the name of the organization making the request, as defined by the RFC5280 'organizationName' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060081 </Parameter>
82 <Parameter Name="OrganizationalUnit" Type="Edm.String" Nullable="false">
83 <Annotation Term="OData.Description" String="The name of the unit or division of the organization making the request."/>
Ed Tanouscb103132019-10-08 11:34:22 -070084 <Annotation Term="OData.LongDescription" String="This parameter shall contain the name of the unit or division of the organization making the request, as defined by the RFC5280 'organizationalUnitName' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060085 </Parameter>
86 <Parameter Name="City" Type="Edm.String" Nullable="false">
87 <Annotation Term="OData.Description" String="The city or locality of the organization making the request."/>
Ed Tanouscb103132019-10-08 11:34:22 -070088 <Annotation Term="OData.LongDescription" String="This parameter shall contain the city or locality of the organization making the request, as defined by the RFC5280 'localityName' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060089 </Parameter>
90 <Parameter Name="State" Type="Edm.String" Nullable="false">
91 <Annotation Term="OData.Description" String="The state, province, or region of the organization making the request."/>
Ed Tanouscb103132019-10-08 11:34:22 -070092 <Annotation Term="OData.LongDescription" String="This parameter shall contain the state, province, or region of the organization making the request, as defined by the RFC5280 'stateOrProvinceName' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060093 </Parameter>
94 <Parameter Name="Country" Type="Edm.String" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070095 <Annotation Term="OData.Description" String="The two-letter country code of the organization making the request."/>
96 <Annotation Term="OData.LongDescription" String="This parameter shall contain the two-letter ISO code for the country of the organization making the request, as defined by the RFC5280 'countryName' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060097 </Parameter>
98 <Parameter Name="Email" Type="Edm.String">
99 <Annotation Term="OData.Description" String="The email address of the contact within the organization making the request."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700100 <Annotation Term="OData.LongDescription" String="This parameter shall contain the email address of the contact within the organization making the request, as defined by the RFC2985 'emailAddress' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600101 </Parameter>
102 <Parameter Name="KeyPairAlgorithm" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700103 <Annotation Term="OData.Description" String="The type of key-pair for use with signing algorithms."/>
104 <Annotation Term="OData.LongDescription" String="This parameter shall contain the type of key-pair for use with signing algorithms. The allowable values for this parameter shall be the strings in the 'Algorithm Name' field of the 'TPM_ALG_ID Constants' table within the 'Trusted Computing Group Algorithm Registry'."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600105 </Parameter>
106 <Parameter Name="KeyBitLength" Type="Edm.Int64">
Ed Tanouscb103132019-10-08 11:34:22 -0700107 <Annotation Term="OData.Description" String="The length of the key, in bits, if needed based on the KeyPairAlgorithm parameter value."/>
108 <Annotation Term="OData.LongDescription" String="This parameter shall contain the length of the key, in bits, if needed based on the KeyPairAlgorithm parameter value."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600109 </Parameter>
110 <Parameter Name="KeyCurveId" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700111 <Annotation Term="OData.Description" String="The curve ID to use with the key, if needed based on the KeyPairAlgorithm parameter value."/>
112 <Annotation Term="OData.LongDescription" String="This parameter shall contain the curve ID to use with the key, if needed based on the KeyPairAlgorithm parameter value. The allowable values for this parameter shall be the strings in the 'Name' field of the 'TPM_ECC_CURVE Constants' table within the 'Trusted Computing Group Algorithm Registry'."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600113 </Parameter>
114 <Parameter Name="CertificateCollection" Type="CertificateCollection.CertificateCollection" Nullable="false">
Gunnar Mills844b4152020-06-22 12:44:09 -0500115 <Annotation Term="OData.Description" String="The link to the certificate collection where the certificate is installed after the certificate authority (CA) signs the certificate."/>
116 <Annotation Term="OData.LongDescription" String="This parameter shall contain a link to a resource collection of type CertificateCollection where the certificate is installed after the certificate authority (CA) signs the certificate."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600117 </Parameter>
118 <Parameter Name="KeyUsage" Type="Collection(Certificate.KeyUsage)">
119 <Annotation Term="OData.Description" String="The usage of the key contained in the certificate."/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500120 <Annotation Term="OData.LongDescription" String="This parameter shall contain the usage of the key contained in the certificate. If the client does not provide this value, the service can determine the appropriate key usage settings in the certificate signing request."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600121 </Parameter>
122 <Parameter Name="Surname" Type="Edm.String">
123 <Annotation Term="OData.Description" String="The surname of the user making the request."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700124 <Annotation Term="OData.LongDescription" String="This parameter shall contain the surname of the user making the request, as defined by the RFC5280 'surname' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600125 </Parameter>
126 <Parameter Name="GivenName" Type="Edm.String">
127 <Annotation Term="OData.Description" String="The given name of the user making the request."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700128 <Annotation Term="OData.LongDescription" String="This parameter shall contain the given name of the user making the request, as defined by the RFC5280 'givenName' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600129 </Parameter>
130 <Parameter Name="Initials" Type="Edm.String">
131 <Annotation Term="OData.Description" String="The initials of the user making the request."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700132 <Annotation Term="OData.LongDescription" String="This parameter shall contain the initials of the user making the request, as defined by the RFC5280 'initials' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600133 </Parameter>
134 <Parameter Name="ChallengePassword" Type="Edm.String">
Ed Tanouscb103132019-10-08 11:34:22 -0700135 <Annotation Term="OData.Description" String="The challenge password to apply to the certificate for revocation requests."/>
136 <Annotation Term="OData.LongDescription" String="This property shall contain the challenge password to apply to the certificate for revocation requests as defined by the RFC2985 'challengePassword' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600137 </Parameter>
138 <Parameter Name="UnstructuredName" Type="Edm.String">
139 <Annotation Term="OData.Description" String="The unstructured name of the subject."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700140 <Annotation Term="OData.LongDescription" String="This property shall contain the unstructured name of the subject, as defined by the RFC2985 'unstructuredName' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600141 </Parameter>
142 <Parameter Name="ContactPerson" Type="Edm.String">
143 <Annotation Term="OData.Description" String="The name of the user making the request."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700144 <Annotation Term="OData.LongDescription" String="This property shall contain the name of the user making the request, as defined by the RFC5280 'name' attribute."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600145 </Parameter>
146 <ReturnType Type="CertificateService.v1_0_0.GenerateCSRResponse" Nullable="false"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600147 </Action>
148
149 <Action Name="ReplaceCertificate" IsBound="true">
Gunnar Mills844b4152020-06-22 12:44:09 -0500150 <Annotation Term="OData.Description" String="This action replaces a certificate."/>
151 <Annotation Term="OData.LongDescription" String="This action shall replace a certificate. The `Location` header in the response shall contain the URI of the new certificate resource."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600152 <Parameter Name="CertificateService" Type="CertificateService.v1_0_0.Actions"/>
153 <Parameter Name="CertificateString" Type="Edm.String" Nullable="false">
154 <Annotation Term="OData.Description" String="The string for the certificate."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700155 <Annotation Term="OData.LongDescription" String="This parameter shall contain the string of the certificate, and the format shall follow the requirements specified by the CertificateType property value. If the certificate contains any private keys, they shall be removed from the string in responses. If the service does not know the private key for the certificate and it is needed to use the certificate, the client shall provide the private key as part of the string in the POST request."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600156 </Parameter>
157 <Parameter Name="CertificateType" Type="Certificate.CertificateType" Nullable="false">
158 <Annotation Term="OData.Description" String="The format of the certificate."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700159 <Annotation Term="OData.LongDescription" String="This parameter shall contain the format type for the certificate."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600160 </Parameter>
161 <Parameter Name="CertificateUri" Type="Certificate.Certificate" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700162 <Annotation Term="OData.Description" String="The link to the certificate that is being replaced."/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500163 <Annotation Term="OData.LongDescription" String="This parameter shall contain a link to a resource of type Certificate that is being replaced."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600164 </Parameter>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600165 </Action>
166 </Schema>
167
168 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CertificateService.v1_0_0">
169 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
170 <Annotation Term="Redfish.Release" String="2018.3"/>
171
172 <EntityType Name="CertificateService" BaseType="CertificateService.CertificateService">
173 <Property Name="Actions" Type="CertificateService.v1_0_0.Actions" Nullable="false">
Gunnar Mills844b4152020-06-22 12:44:09 -0500174 <Annotation Term="OData.Description" String="The available actions for this resource."/>
175 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600176 </Property>
177 <NavigationProperty Name="CertificateLocations" Type="CertificateLocations.CertificateLocations" ContainsTarget="true" Nullable="false">
178 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700179 <Annotation Term="OData.Description" String="The information about the location of certificates."/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500180 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type CertificateLocations."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600181 <Annotation Term="OData.AutoExpandReferences"/>
182 </NavigationProperty>
183 </EntityType>
184
185 <ComplexType Name="Actions">
186 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500187 <Annotation Term="OData.Description" String="The available actions for this resource."/>
188 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600189 <Property Name="Oem" Type="CertificateService.v1_0_0.OemActions" Nullable="false">
Gunnar Mills844b4152020-06-22 12:44:09 -0500190 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
191 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600192 </Property>
193 </ComplexType>
194
195 <ComplexType Name="OemActions">
196 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500197 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
198 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600199 </ComplexType>
200
201 <ComplexType Name="GenerateCSRResponse">
202 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
203 <Annotation Term="OData.Description" String="The response body for the GenerateCSR action."/>
204 <Annotation Term="OData.LongDescription" String="This type shall contain the properties found in the response body for the GenerateCSR action."/>
205 <NavigationProperty Name="CertificateCollection" Type="CertificateCollection.CertificateCollection" Nullable="false">
206 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500207 <Annotation Term="OData.Description" String="The link to the certificate collection where the certificate is installed."/>
208 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type CertificateCollection where the certificate is installed after the certificate authority (CA) has signed the certificate."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600209 <Annotation Term="Redfish.Required"/>
210 </NavigationProperty>
211 <Property Name="CSRString" Type="Edm.String" Nullable="false">
212 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
213 <Annotation Term="OData.Description" String="The string for the certificate signing request."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700214 <Annotation Term="OData.LongDescription" String="This property shall contain the Privacy Enhanced Mail (PEM)-encoded string, which contains RFC2986-specified structures, of the certificate signing request. The private key should not be part of the string."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600215 <Annotation Term="Redfish.Required"/>
216 </Property>
217 </ComplexType>
218 </Schema>
219
Ed Tanouscb103132019-10-08 11:34:22 -0700220 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CertificateService.v1_0_1">
221 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
222 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
223 <EntityType Name="CertificateService" BaseType="CertificateService.v1_0_0.CertificateService"/>
224 </Schema>
225
226 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CertificateService.v1_0_2">
227 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
228 <Annotation Term="OData.Description" String="This version was created to update the description of CertificateString. It was also created to update descriptions that this schema defines."/>
229 <EntityType Name="CertificateService" BaseType="CertificateService.v1_0_1.CertificateService"/>
230 </Schema>
231
Gunnar Mills844b4152020-06-22 12:44:09 -0500232 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CertificateService.v1_0_3">
233 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
234 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
235 <EntityType Name="CertificateService" BaseType="CertificateService.v1_0_2.CertificateService"/>
236 </Schema>
237
Gunnar Mills262d7d42021-01-20 16:28:41 -0600238 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CertificateService.v1_0_4">
239 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
240 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
241 <EntityType Name="CertificateService" BaseType="CertificateService.v1_0_3.CertificateService"/>
242 </Schema>
243
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600244 </edmx:DataServices>
245</edmx:Edmx>