Skip to content

Commit 648bd8a

Browse files
committed
Drop underfined checksum attributes on LifeCycleEntry
These attributes have been superceded by the Signature element, which can then be better defined going forward across SSP. Also clarify checksum attributes on SRMD, which are sufficiently defined. Fixes (#91).
1 parent 881db38 commit 648bd8a

File tree

4 files changed

+8
-32
lines changed

4 files changed

+8
-32
lines changed

SRMD.xsd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@
5656
<xs:documentation xml:lang="en">
5757
This attribute gives the checksum over the data item this meta data
5858
applies to. This is optional information to allow the identification
59-
of the data item and the precise algorithm
60-
specifying
61-
The checksum is calculated using the algorithm indicated by the checksumType attribute.
59+
of the data item. The checksum is calculated using the algorithm
60+
indicated by the checksumType attribute.
6261
</xs:documentation>
6362
</xs:annotation>
6463
</xs:attribute>
6564
<xs:attribute name="checksumType" type="xs:string" use="optional" default="SHA3-256">
6665
<xs:annotation>
6766
<xs:documentation xml:lang="en">
68-
This attribute gives the algorithm for the calculation of the checksum attribute. MUST be
69-
SHA3-256 for now, indicating a SHA3 256bit secure hash algorithm, as specified in FIPS 202.
67+
This attribute gives the algorithm for the calculation of the checksum attribute.
68+
MUST be SHA3-256 for now, indicating a SHA3 256bit secure hash algorithm, as
69+
specified in FIPS 202, applied to the raw data of the data item.
7070
In the future other checksum algorithms might be supported.
7171
</xs:documentation>
7272
</xs:annotation>

STC.xsd

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -273,28 +273,6 @@
273273
</xs:documentation>
274274
</xs:annotation>
275275
</xs:attribute>
276-
<xs:attribute name="checksum" type="xs:hexBinary">
277-
<xs:annotation>
278-
<xs:documentation xml:lang="en">
279-
This attribute gives the checksum over the phase/step information stored in the enclosing
280-
phase/step element, calculated according to the STC specification. This attribute is optional
281-
if the life cycle stage is not Approved or Archived, but becomes required if the life cycle stage
282-
is Approved or Archived. Optionally, digital signatures over this checksum can be provided using
283-
Signature elements in the enclosing life cycle entry element.
284-
285-
The checksum is calculated using the algorithm indicated by the checksumType attribute.
286-
</xs:documentation>
287-
</xs:annotation>
288-
</xs:attribute>
289-
<xs:attribute name="checksumType" type="xs:string" default="SHA3-256">
290-
<xs:annotation>
291-
<xs:documentation xml:lang="en">
292-
This attribute gives the algorithm for the calculation of the checksum attribute. MUST be
293-
SHA3-256 for now, indicating a SHA3 256bit secure hash algorithm, as specified in FIPS 202.
294-
In the future other checksum algorithms might be supported.
295-
</xs:documentation>
296-
</xs:annotation>
297-
</xs:attribute>
298276
<xs:attributeGroup ref="ssc:ABaseElement"/>
299277
</xs:complexType>
300278

specification/5___stc.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,6 @@ The LifeCycleEntryType element is associated with the following attributes.
328328
|===
329329
| Attribute name | Optional / Mandatory | Attribute description
330330
| date | Mandatory | Time-stamp when life-cycle entry was assigned. Note that the time stamp data type makes time zone information mandatory, so that a full ordering of times is possible.
331-
| checksum | Optional | This attribute gives the checksum over the phase/step information stored in the enclosing phase/step element, calculated according to the #STMD' specification. This attribute is optional if the life-cycle stage is not Approved or Archived, but becomes required if the life-cycle stage is Approved or Archived. Optionally, digital signatures over this checksum can be provided using Signature elements in the enclosing lifecycle entry element. The checksum is calculated using the algorithm indicated by the checksumType attribute.
332-
| checksumType | Optional | This attribute gives the algorithm for the calculation of the checksum attribute. MUST be SHA3-256 for now, indicating a SHA3 256bit secure hash algorithm, as specified in FIPS 202. In the future other checksum algorithms might be supported.
333331
|===
334332

335333
[#sec-steptype]

specification/8___srmd.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ The SimulationResourceMetaData element is associated with the following attribut
3030
| Attribute name | Optional / Mandatory | Attribute description
3131
| version | Mandatory | Version of SRMD format, 0.x for this pre-release.
3232
| name | Mandatory | This attribute gives the simulation resource meta data a name, which can be used for purposes of presenting the simulation resource meta data to the user.
33-
| data | Optional | This optional attribute gives a URI to the data item this resource meta data applies to. If this attribute is not present, then the data this resource meta data applies to is provided outside of the meta data (e.g. by embedding SRMD into the data format, or providing it as meta data in an STMD file).
34-
| checksum | Optional | This attribute gives the checksum over the data item this meta data applies to. This is optional information to allow the identification of the data item and the precise algorithm specifying. The checksum is calculated using the algorithm indicated by the checksumType attribute.
35-
| checksumtype | Optional | This attribute gives the algorithm for the calculation of the checksum attribute. MUST be SHA3-256 for now, indicating a SHA3 256bit secure hash algorithm, as specified in FIPS 202. In the future other checksum algorithms might be supported.
33+
| data | Optional | This optional attribute gives a URI to the data item this resource meta data applies to. If this attribute is not present, then the data this resource meta data applies to is provided outside of the meta data (e.g. by embedding SRMD into the data format, or providing it as meta data in an STMD file).
34+
| checksum | Optional | This attribute gives the checksum over the data item this meta data applies to. This is optional information to allow the identification of the data item. The checksum is calculated using the algorithm indicated by the checksumType attribute.
35+
| checksumType | Optional | This attribute gives the algorithm for the calculation of the checksum attribute. Must be SHA3-256 for now, indicating a SHA3 256bit secure hash algorithm, as specified in FIPS 202, applied to the raw data of the data item. In the future other checksum algorithms might be supported.
3636
| id | Optional | This attribute gives the model element a file-wide unique id which can be referenced from other elements or via URI fragment identifier.
3737
| description | Optional | This attribute gives a human readable longer description of the model element, which can be shown to the user where appropriate.
3838
| author | Optional | This attribute gives the name of the author of this file's content.

0 commit comments

Comments
 (0)