Share via


Signature.Sign Method

InfoPath Developer Reference

Writes the XML digital signature block and computes the cryptographic hash for the signed data.

Version Information
 Version Added:  InfoPath 2003

Syntax

expression.Sign

expression   An expression that returns a Signature object.

Return Value
Nothing

Remarks

Use the Create method of the Signatures collection to create a digital signature. Then, use the Sign method to write the digital signature.

This method can only be called from the OnSign event handler. Calling this method displays the Digital Signatures dialog box.

Security Level 3: Can be accessed only by fully trusted forms.

See Also