SignedDataBlock Object

Microsoft Office InfoPath

Show All Show All

SignedDataBlock Object

Represents a set of signed data in a Microsoft Office InfoPath 2003 form. The SignedDataBlock object provides a number of properties and one method that can be used to programmatically interact with a set of signed data.

Remarks

Note  This object model member is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Service Pack 1 or later is not installed. Any form that implements this object model member in its code will generate an error message if it is opened in InfoPath when service pack features are disabled or unavailable.

Using the SignedDataBlock object

The SignedDataBlock object contains the following read-only properties:

Property Description
XPath Returns the XPath expression of the set of signed data represented by theSignedDataBlock object.
Name Returns the name of the SignedDataBlock.
Caption Returns the friendly name of the SignedDataBlock.
SignatureRelation Returns the relation among multiple signatures on the SignedDataBlock.
Signatures Returns a collection of the signatures of a SignedDataBlock.
XPathNamespaceDeclarations Returns the namespace definitions for the SignedDataBlock.
SignatureContainer Returns the root XML node of the sub-tree that contains the signature(s).

The SignedDataBlock object contains the following method:

Method Description
Sign Invokes the Digital Signatures dialog box to add a digital signature to the SignedDataBlock section of the form.