|
350 | 350 | <xs:attributeGroup ref="ssc:ABaseElement"/> |
351 | 351 | </xs:complexType> |
352 | 352 | </xs:element> |
| 353 | + <xs:element name="Signature" type="ssc:SignatureType" minOccurs="0" maxOccurs="unbounded"> |
| 354 | + <xs:annotation> |
| 355 | + <xs:documentation xml:lang="en"> |
| 356 | + This element can contain digital signature information on the data referenced |
| 357 | + by the enclosing element. It is left unspecified what types of signatures |
| 358 | + are used and/or available for now. Multiple or no signature elements may be present. |
| 359 | + </xs:documentation> |
| 360 | + </xs:annotation> |
| 361 | + </xs:element> |
353 | 362 | </xs:sequence> |
354 | 363 | </xs:group> |
355 | 364 |
|
|
387 | 396 | <xs:attribute name="source" type="xs:anyURI" use="optional"> |
388 | 397 | <xs:annotation> |
389 | 398 | <xs:documentation xml:lang="en"> |
390 | | - This attribute indicates the source of the resource signature as a |
| 399 | + This attribute indicates the source of the digital signature as a |
391 | 400 | URI (cf. RFC 3986). For purposes of the resolution of relative URIs |
392 | | - the base URI is the URI of the STC, if the sourceBase attribute is |
393 | | - not specified or is specified as STC, and the URI of the referenced |
394 | | - resource if the sourceBase attribute is specified as resource. |
| 401 | + the base URI is the URI of the SSD, if the sourceBase attribute is |
| 402 | + not specified or is specified as SSD, the URI of the containing model |
| 403 | + element (e.g. component) if the sourceBase attribute is specified as |
| 404 | + component, or the URI of the meta data source if the sourceBase |
| 405 | + attribute is specified as metaData. |
395 | 406 |
|
396 | 407 | This allows the specification of signature sources that reside |
397 | | - inside the resource (e.g. an FMU) through relative URIs. |
398 | | - |
399 | | - For signatures that are located alongside the STC, relative URIs |
400 | | - without scheme and authority can and should be used to specify the |
401 | | - signature sources. For signatures that are packaged inside an SSP |
402 | | - that contains this STC, this is mandatory (in this way, the STC |
403 | | - URIs remain valid after unpacking the SSP into the filesystem). |
| 408 | + inside the component (for example an FMU), or the meta data |
| 409 | + through relative URIs. |
404 | 410 |
|
405 | 411 | If the source attribute is missing, the signature is provided |
406 | 412 | inline as contents of the Content element, which must not be |
|
411 | 417 | <xs:attribute name="sourceBase" use="optional" default="SSD"> |
412 | 418 | <xs:annotation> |
413 | 419 | <xs:documentation xml:lang="en"> |
414 | | - Defines the base the source URI is resolved against: If the attribute |
| 420 | + Defines the base the source URI is resolved against: If the attribute |
415 | 421 | is missing or is specified as SSD, the source is resolved against the |
416 | | - URI of the SSD, if the attribute is specified as resource the URI is |
417 | | - resolved against the (resolved) URI of the resource source. |
| 422 | + URI of the SSD, if the attribute is specified as component the URI is |
| 423 | + resolved against the (resolved) URI of the model element (e.g. |
| 424 | + component) source, or if the attribute is specified as metaData the |
| 425 | + URI is resolved against the (resolved) URI of the meta data source. |
| 426 | + The value metaData is only valid if the Signature element is contained |
| 427 | + within a MetaData element. |
418 | 428 | </xs:documentation> |
419 | 429 | </xs:annotation> |
420 | 430 | <xs:simpleType> |
421 | 431 | <xs:restriction base="xs:string"> |
422 | 432 | <xs:enumeration value="SSD"/> |
423 | | - <xs:enumeration value="resource"/> |
| 433 | + <xs:enumeration value="component"/> |
| 434 | + <xs:enumeration value="metaData"/> |
424 | 435 | </xs:restriction> |
425 | 436 | </xs:simpleType> |
426 | 437 | </xs:attribute> |
|
0 commit comments