We recommend using Visual Studio 2017

SignedDataBlock Class

Represents a set of data in a form that can be signed.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

A SignedDataBlock object corresponds to a set of signable data that was configured in the form template at design time using the Digital Signature category in the Form Options dialog box. If the Enable digital signatures for specific data in the form option is selected in the Digital Signature category of the Form Options dialog box, a SignedDataBlock represents one of the sets of signable data configured using that option. If the Enable digital signatures for the entire form option is selected, there is only one SignedDataBlock object which represents the entire form.

The set of SignedDataBlock objects configured for a form is accessible from the SignedDataBlockCollection object of the form template. The SignedDataBlockCollection object is accessible using the SignedDataBlocks property of the XmlForm class.

The SignedDataBlock class provides the Sign method, which invokes the Sign dialog box for adding a digital signature to the set of signable data represented by the specified SignedDataBlock object.

The SignedDataBlock class provides the following properties:

  • Caption   Gets the signature confirmation message of the SignedDataBlock object.

  • Name   Gets the friendly name of a SignedDataBlock object.

  • SignatureContainer   Gets a XPathNavigator object that is positioned at the root node of the subtree in the form that stores the signatures associated with the current set of signable data represented by the SignedDataBlock object.

  • SignatureRelation   Gets the relationship among multiple signatures of the SignedDataBlock object, expressed as SignatureRelation enumerated constants.

  • Signatures   Gets a reference to the Signatures collection associated with the SignedDataBlock object.

  • XPath   Gets the XPath expression for the data that is signed by the current set of signable data represented by the SignedDataBlock object.

System.Object
  Microsoft.Office.InfoPath.SignedDataBlock

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show: