1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3 <xsd:element name="DeviceKey" type="DeviceKeyType"></xsd:element>
5 <xsd:complexType name="DeviceKeyType">
6 <xsd:sequence maxOccurs="1" minOccurs="1">
7 <xsd:choice maxOccurs="1" minOccurs="1">
8 <xsd:element name="RSAPrivateKey" type="RSAPrivateKeyType"
9 maxOccurs="1" minOccurs="1">
13 <xsd:attribute name="version" type="xsd:int" use="required"></xsd:attribute>
16 <xsd:complexType name="RSAPrivateKeyType">
17 <xsd:sequence maxOccurs="1" minOccurs="1">
18 <xsd:choice maxOccurs="1" minOccurs="1">
19 <xsd:element name="PEM"
20 type="EncodingPemType" maxOccurs="1" minOccurs="1">
22 <xsd:element name="DER"
23 type="EncodingDerType" maxOccurs="1" minOccurs="1">
25 <xsd:element name="Base64"
26 type="EncodingRawType" maxOccurs="1" minOccurs="1">
32 <xsd:simpleType name="EncodingDerType">
33 <xsd:restriction base="xsd:string"></xsd:restriction>
35 <xsd:simpleType name="EncodingPemType">
36 <xsd:restriction base="xsd:string"></xsd:restriction>
38 <xsd:simpleType name="EncodingRawType">
39 <xsd:restriction base="xsd:string"></xsd:restriction>