Edit

Share via


SignedDataBlock Class

Definition

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

public ref class SignedDataBlock abstract
public abstract class SignedDataBlock
type SignedDataBlock = class
Public MustInherit Class SignedDataBlock
Inheritance
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.

Constructors

SignedDataBlock()

Properties

Caption

Gets the signature confirmation message defined for the set of data represented by the SignedDataBlock object.

Name

Gets the friendly name of a SignedDataBlock object.

SignatureContainer

Gets a System.Xml.XPathNavigator object positioned at the root XML node of the subtree in the form that contains the signatures applied to the set of data represented by the SignedDataBlock object.

SignatureRelation

Gets a SignatureRelation value that specifies the relationship defined for how multiple signatures can be applied to the set of data represented by the SignedDataBlock object.

Signatures

Gets a reference to the SignatureCollection object associated with the SignedDataBlock object.

XPath

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

Methods

Sign()

Invokes the Sign dialog box for adding a digital signature to the set of data represented by the specified SignedDataBlock object.

Applies to