Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
| 4 | <!--# Redfish Schema: Certificate v1.0.0--> |
| 5 | <!--# --> |
| 6 | <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> |
| 7 | <!--# available at http://www.dmtf.org/standards/redfish --> |
| 8 | <!--# Copyright 2014-2018 DMTF. --> |
| 9 | <!--# 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/Resource_v1.xml"> |
| 21 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 22 | </edmx:Reference> |
| 23 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| 24 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 25 | </edmx:Reference> |
| 26 | |
| 27 | <edmx:DataServices> |
| 28 | |
| 29 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Certificate"> |
| 30 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 31 | |
| 32 | <EntityType Name="Certificate" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 33 | <Annotation Term="OData.Description" String="The Certificate resource describes a certificate used to prove the identify of a component, account, or service."/> |
| 34 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a Certificate for a Redfish implementation."/> |
| 35 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 36 | <Record> |
| 37 | <PropertyValue Property="Insertable" Bool="false"/> |
| 38 | </Record> |
| 39 | </Annotation> |
| 40 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 41 | <Record> |
| 42 | <PropertyValue Property="Updatable" Bool="false"/> |
| 43 | </Record> |
| 44 | </Annotation> |
| 45 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 46 | <Record> |
| 47 | <PropertyValue Property="Deletable" Bool="true"/> |
| 48 | <Annotation Term="OData.Description" String="Certificates can be removed by Deleting the Certificate resource."/> |
| 49 | </Record> |
| 50 | </Annotation> |
| 51 | <Annotation Term="Redfish.Uris"> |
| 52 | <Collection> |
| 53 | <String>/redfish/v1/AccountService/Accounts/{ManagerAccountId}/Certificates/{CertificateId}</String> |
| 54 | <String>/redfish/v1/AccountService/ActiveDirectory/Certificates/{CertificateId}</String> |
| 55 | <String>/redfish/v1/AccountService/LDAP/Certificates/{CertificateId}</String> |
| 56 | <String>/redfish/v1/AccountService/ExternalAccountProviders/{ExternalAccountProviderId}/Certificates/{CertificateId}</String> |
| 57 | <String>/redfish/v1/Managers/{ManagerId}/RemoteAccountService/Accounts/{ManagerAccountId}/Certificates/{CertificateId}</String> |
| 58 | <String>/redfish/v1/Managers/{ManagerId}/RemoteAccountService/ActiveDirectory/Certificates/{CertificateId}</String> |
| 59 | <String>/redfish/v1/Managers/{ManagerId}/RemoteAccountService/LDAP/Certificates/{CertificateId}</String> |
| 60 | <String>/redfish/v1/Managers/{ManagerId}/RemoteAccountService/ExternalAccountProviders/{ExternalAccountProviderId}/Certificates/{CertificateId}</String> |
| 61 | <String>/redfish/v1/Managers/{ManagerId}/NetworkProtocol/HTTPS/Certificates/{CertificateId}</String> |
| 62 | </Collection> |
| 63 | </Annotation> |
| 64 | </EntityType> |
| 65 | |
| 66 | <EnumType Name="CertificateType"> |
| 67 | <Member Name="PEM"> |
| 68 | <Annotation Term="OData.Description" String="A PEM encoded certificate."/> |
| 69 | <Annotation Term="OData.LongDescription" String="The format of the certificate shall be a Privacy Enhanced Mail (PEM) encoded string, containing structures specified by RFC5280."/> |
| 70 | </Member> |
| 71 | <Member Name="PKCS7"> |
| 72 | <Annotation Term="OData.Description" String="A PEM encoded PKCS7 certificate."/> |
| 73 | <Annotation Term="OData.LongDescription" String="The format of the certificate shall be a Privacy Enhanced Mail (PEM) encoded string, containing structures specified by RFC5280 and RFC2315. The service may discard additional certificates or other data in the structure."/> |
| 74 | </Member> |
| 75 | </EnumType> |
| 76 | |
| 77 | <EnumType Name="KeyUsage"> |
| 78 | <Annotation Term="OData.Description" String="The usages of a key contained within a certificate."/> |
| 79 | <Annotation Term="OData.LongDescription" String="This type shall contain the usages of a key contained within a certificate as specified by the Key Usage and Extended Key Usage definitions in RFC5280."/> |
| 80 | <Member Name="DigitalSignature"> |
| 81 | <Annotation Term="OData.Description" String="The public key is used for verifying digital signatures, other than signatures on certificates and CRLs."/> |
| 82 | </Member> |
| 83 | <Member Name="NonRepudiation"> |
| 84 | <Annotation Term="OData.Description" String="The public key is used to verify digital signatures, other than signatures on certificates and CRLs, and used to provide a non-repudiation service that protects against the signing entity falsely denying some action."/> |
| 85 | </Member> |
| 86 | <Member Name="KeyEncipherment"> |
| 87 | <Annotation Term="OData.Description" String="The public key is used for enciphering private or secret keys."/> |
| 88 | </Member> |
| 89 | <Member Name="DataEncipherment"> |
| 90 | <Annotation Term="OData.Description" String="The public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher."/> |
| 91 | </Member> |
| 92 | <Member Name="KeyAgreement"> |
| 93 | <Annotation Term="OData.Description" String="The public key is used for key agreement."/> |
| 94 | </Member> |
| 95 | <Member Name="KeyCertSign"> |
| 96 | <Annotation Term="OData.Description" String="The public key is used for verifying signatures on public key certificates."/> |
| 97 | </Member> |
| 98 | <Member Name="CRLSigning"> |
| 99 | <Annotation Term="OData.Description" String="The public key is used for verifying signatures on certificate revocation lists (CLRs)."/> |
| 100 | </Member> |
| 101 | <Member Name="EncipherOnly"> |
| 102 | <Annotation Term="OData.Description" String="The public key could be used for enciphering data while performing key agreement."/> |
| 103 | </Member> |
| 104 | <Member Name="DecipherOnly"> |
| 105 | <Annotation Term="OData.Description" String="The public key could be used for deciphering data while performing key agreement."/> |
| 106 | </Member> |
| 107 | <Member Name="ServerAuthentication"> |
| 108 | <Annotation Term="OData.Description" String="The public key is used for TLS WWW server authentication."/> |
| 109 | </Member> |
| 110 | <Member Name="ClientAuthentication"> |
| 111 | <Annotation Term="OData.Description" String="The public key is used for TLS WWW client authentication."/> |
| 112 | </Member> |
| 113 | <Member Name="CodeSigning"> |
| 114 | <Annotation Term="OData.Description" String="The public key is used for the signing of executable code."/> |
| 115 | </Member> |
| 116 | <Member Name="EmailProtection"> |
| 117 | <Annotation Term="OData.Description" String="The public key is used for email protection."/> |
| 118 | </Member> |
| 119 | <Member Name="Timestamping"> |
| 120 | <Annotation Term="OData.Description" String="The public key is used for binding the hash of an object to a time."/> |
| 121 | </Member> |
| 122 | <Member Name="OCSPSigning"> |
| 123 | <Annotation Term="OData.Description" String="The public key is used for signing OCSP responses."/> |
| 124 | </Member> |
| 125 | </EnumType> |
| 126 | </Schema> |
| 127 | |
| 128 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Certificate.v1_0_0"> |
| 129 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 130 | <Annotation Term="Redfish.Release" String="2018.3"/> |
| 131 | |
| 132 | <EntityType Name="Certificate" BaseType="Certificate.Certificate"> |
| 133 | <Property Name="CertificateString" Type="Edm.String"> |
| 134 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 135 | <Annotation Term="OData.Description" String="The string for the certificate."/> |
| 136 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the string of the certificate, and the format shall follow the requirements specified by the value of the CertificateType property. If the certificate contains any private keys, they shall be removed from the string on GET requests. If the private key for the certificate is not known by the service and is needed to use the certificate, the client shall provide the private key as part of the string in the POST request."/> |
| 137 | <Annotation Term="Redfish.RequiredOnCreate"/> |
| 138 | </Property> |
| 139 | <Property Name="CertificateType" Type="Certificate.CertificateType"> |
| 140 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 141 | <Annotation Term="OData.Description" String="The format of the certificate."/> |
| 142 | <Annotation Term="OData.LongDescription" String="This property shall contain the format type for the certificate."/> |
| 143 | <Annotation Term="Redfish.RequiredOnCreate"/> |
| 144 | </Property> |
| 145 | <Property Name="Issuer" Type="Certificate.v1_0_0.Identifier" Nullable="false"> |
| 146 | <Annotation Term="OData.Description" String="The issuer of the certificate."/> |
| 147 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an object containing information about the issuer of the certificate."/> |
| 148 | </Property> |
| 149 | <Property Name="Subject" Type="Certificate.v1_0_0.Identifier" Nullable="false"> |
| 150 | <Annotation Term="OData.Description" String="The subject of the certificate."/> |
| 151 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an object containing information about the subject of the certificate."/> |
| 152 | </Property> |
| 153 | <Property Name="ValidNotBefore" Type="Edm.DateTimeOffset" Nullable="false"> |
| 154 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 155 | <Annotation Term="OData.Description" String="The date when the certificate becomes valid."/> |
| 156 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate the date on which the certificate validity period begins."/> |
| 157 | </Property> |
| 158 | <Property Name="ValidNotAfter" Type="Edm.DateTimeOffset" Nullable="false"> |
| 159 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 160 | <Annotation Term="OData.Description" String="The date when the certificate is no longer valid."/> |
| 161 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate the date on which the certificate validity period ends."/> |
| 162 | </Property> |
| 163 | <Property Name="KeyUsage" Type="Collection(Certificate.KeyUsage)"> |
| 164 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 165 | <Annotation Term="OData.Description" String="The usage of the key contained in the certificate."/> |
| 166 | <Annotation Term="OData.LongDescription" String="This property shall contain the usage of the key contained in the certificate."/> |
| 167 | </Property> |
| 168 | |
| 169 | <Property Name="Actions" Type="Certificate.v1_0_0.Actions" Nullable="false"> |
| 170 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 171 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> |
| 172 | </Property> |
| 173 | </EntityType> |
| 174 | |
| 175 | <ComplexType Name="Identifier"> |
| 176 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 177 | <Annotation Term="OData.Description" String="The identifier information about a certificate."/> |
| 178 | <Annotation Term="OData.LongDescription" String="This type shall contain the properties used to identify the issuer or subject of a certificate."/> |
| 179 | <Property Name="CommonName" Type="Edm.String" Nullable="false"> |
| 180 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 181 | <Annotation Term="OData.Description" String="The fully qualified domain name of the entity."/> |
| 182 | <Annotation Term="OData.LongDescription" String="This property shall contain the fully qualified domain name of the entity."/> |
| 183 | </Property> |
| 184 | <Property Name="Organization" Type="Edm.String" Nullable="false"> |
| 185 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 186 | <Annotation Term="OData.Description" String="The name of the organization of the entity."/> |
| 187 | <Annotation Term="OData.LongDescription" String="This property shall contain the name of the organization of the entity."/> |
| 188 | </Property> |
| 189 | <Property Name="OrganizationalUnit" Type="Edm.String" Nullable="false"> |
| 190 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 191 | <Annotation Term="OData.Description" String="The name of the unit or division of the organization of the entity."/> |
| 192 | <Annotation Term="OData.LongDescription" String="This property shall contain the name of the unit or division of the organization of the entity."/> |
| 193 | </Property> |
| 194 | <Property Name="City" Type="Edm.String" Nullable="false"> |
| 195 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 196 | <Annotation Term="OData.Description" String="The city or locality of the organization of the entity."/> |
| 197 | <Annotation Term="OData.LongDescription" String="This property shall contain the city or locality of the organization of the entity."/> |
| 198 | </Property> |
| 199 | <Property Name="State" Type="Edm.String" Nullable="false"> |
| 200 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 201 | <Annotation Term="OData.Description" String="The state, province, or region of the organization of the entity."/> |
| 202 | <Annotation Term="OData.LongDescription" String="This property shall contain the state, province, or region of the organization of the entity."/> |
| 203 | </Property> |
| 204 | <Property Name="Country" Type="Edm.String" Nullable="false"> |
| 205 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 206 | <Annotation Term="OData.Description" String="The country of the organization of the entity."/> |
| 207 | <Annotation Term="OData.LongDescription" String="This property shall contain the two letter ISO code for the country of the organization of the entity."/> |
| 208 | </Property> |
| 209 | <Property Name="Email" Type="Edm.String"> |
| 210 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 211 | <Annotation Term="OData.Description" String="The email address of the contact within the organization of the entity."/> |
| 212 | <Annotation Term="OData.LongDescription" String="This property shall contain the email address of the contact within the organization of the entity."/> |
| 213 | </Property> |
| 214 | </ComplexType> |
| 215 | |
| 216 | <ComplexType Name="Actions"> |
| 217 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 218 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 219 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
| 220 | <Property Name="Oem" Type="Certificate.v1_0_0.OemActions" Nullable="false"> |
| 221 | <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/> |
| 222 | <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/> |
| 223 | </Property> |
| 224 | </ComplexType> |
| 225 | |
| 226 | <ComplexType Name="OemActions"> |
| 227 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 228 | <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/> |
| 229 | <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/> |
| 230 | </ComplexType> |
| 231 | </Schema> |
| 232 | |
| 233 | </edmx:DataServices> |
| 234 | </edmx:Edmx> |