Partager via


SignedDataBlock Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Office.InfoPath.SignedDataBlock

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustInherit Class SignedDataBlock
'Usage
Dim instance As SignedDataBlock
public abstract class SignedDataBlock

Remarks

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

Alternatively, if you create a form template that can be opened only in the InfoPath editor, you can add one or more Signature Line controls to the form, and then use the settings on the Advanced tab of the control's Properties dialog box to configure digital signing for all or part of a 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 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 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 SignatureCollection associated with the SignedDataBlock object.

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

Thread Safety

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

See Also

Reference

SignedDataBlock Members

Microsoft.Office.InfoPath Namespace