Commit 9818cacd authored by Peter Waher's avatar Peter Waher

Placing signature-related attributes in an attribute group for easier reference.

parent 39cf1dcc
......@@ -6,7 +6,7 @@
elementFormDefault='qualified'
xmlns:p2="urn:ieee:iot:p2p:1.0">
<!--
<!--
Copyright 2017-2018 The Institute of Electrical and Electronics Engineers,
Incorporated (IEEE).
......@@ -195,35 +195,46 @@ purposes.
<xs:documentation>Required attribute, if RSA/AES E2E encryption is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="signRsa" type="xs:base64Binary" use="optional">
<xs:attributeGroup ref="signatureAttributes">
<xs:annotation>
<xs:documentation>Payload signature using the public RSA key of the sender.</xs:documentation>
<xs:documentation>Required attribute, if RSA/AES E2E encryption is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ec" type="EllipticCurve" use="optional">
<xs:annotation>
<xs:documentation>Name of Elliptic Curve used in ECDH key exchange to derive AES key used to encrypt the message, and ECDSA to sign message.</xs:documentation>
<xs:documentation>Required attribute, if EC/AES E2E encryption is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ecdsa1" type="xs:base64Binary" use="optional">
<xs:annotation>
<xs:documentation>First integer in ECDSA signature of payload. Most significant byte sent first.</xs:documentation>
<xs:documentation>Required attribute, if EC/AES E2E encryption is used.</xs:documentation>
<xs:documentation>Signature of the decrypted content.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ecdsa2" type="xs:base64Binary" use="optional">
<xs:annotation>
<xs:documentation>Second integer in ECDSA signature of payload. Most significant byte sent first.</xs:documentation>
<xs:documentation>Required attribute, if EC/AES E2E encryption is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:attributeGroup name="signatureAttributes">
<xs:annotation>
<xs:documentation>Attributes related to signing the content.</xs:documentation>
</xs:annotation>
<xs:attribute name="signRsa" type="xs:base64Binary" use="optional">
<xs:annotation>
<xs:documentation>Payload signature using the public RSA key of the sender.</xs:documentation>
<xs:documentation>Required attribute, if RSA/AES E2E encryption is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ec" type="EllipticCurve" use="optional">
<xs:annotation>
<xs:documentation>Name of Elliptic Curve used in ECDH key exchange to derive AES key used to encrypt the message, and ECDSA to sign message.</xs:documentation>
<xs:documentation>Required attribute, if EC/AES E2E encryption is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ecdsa1" type="xs:base64Binary" use="optional">
<xs:annotation>
<xs:documentation>First integer in ECDSA signature of payload. Most significant byte sent first.</xs:documentation>
<xs:documentation>Required attribute, if EC/AES E2E encryption is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ecdsa2" type="xs:base64Binary" use="optional">
<xs:annotation>
<xs:documentation>Second integer in ECDSA signature of payload. Most significant byte sent first.</xs:documentation>
<xs:documentation>Required attribute, if EC/AES E2E encryption is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:simpleType name="EllipticCurve">
<xs:annotation>
<xs:documentation>Recognized elliptic curve names.</xs:documentation>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment