2.2.1.2.107 signedDataBlock

The signedDataBlock element specifies a set of XML nodes in the form file that MUST be signed by a digital signature.

Parent Elements

documentSignatures

Child Elements

message

Attributes:

data: This attribute specifies an XPath expression that MUST evaluate to a collection of XML nodes.

mode: This attribute specifies the relationship of the digital signature (1) and MUST be one of the following values:

  • countersign: The digital signature signs all previous digital signatures.

  • cosign: The digital signature (1) is treated independently of all previous digital signatures (1).

  • single: The signed data block MUST NOT be signed by more than one digital signature.

name: This attribute specifies the name of the signed data block.

signatureLocation: This attribute specifies an XPath expression that MUST evaluate to an XML node in the form file. The specified location MUST be used to store the digital signature (1).

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="signedDataBlock">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element name="message" type="xsf:xdSignedDataBlockMessage" minOccurs="0"/>
     </xsd:sequence>
     <xsd:attribute name="name" type="xsf:xdSignedDataBlockName" use="required"/>
     <xsd:attribute name="data" type="xsd:string" use="required"/>
     <xsd:attribute name="signatureLocation" type="xsd:string" use="required"/>
     <xsd:attribute name="mode" type="xsf:xdSignatureRelationEnum" use="required"/>
   </xsd:complexType>
   <xsd:unique name="signedDataBlock_name_unique">
     <xsd:selector xpath="."/>
     <xsd:field xpath="@name"/>
   </xsd:unique>
 </xsd:element>