Show All

# Signature Object

Represents a digital signature that has been added to a form or set of signed data in a form.

## 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 Signature object

Use the Item property of the Signatures collection to return a Signature object.

The Signature object contains the following properties, which can be used to return information about a digital signature:

Property | Description
--- | ---
Comment | Returns the text comment that was added to the digital signature.
Status | Returns the status of the specified digital signature
SignatureBlockXmlNode | Returns the XML node corresponding the digital signature.
Certificate | Returns the Certificate object for the X.509 digital certificate that was used when signing a form or a set of signed data.

The Signature object contains the following method:

Method | Description
--- | ---
Sign | Writes the XML digital signature block and computes the cryptographic hash for the signed data.

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp