Signature.Sign(Object, Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a signature packet.
public void Sign (object varSigImg, object varDelSuggSigner, object varDelSuggSignerLine2, object varDelSuggSignerEmail);
abstract member Sign : obj * obj * obj * obj -> unit
Public Sub Sign (Optional varSigImg As Object, Optional varDelSuggSigner As Object, Optional varDelSuggSignerLine2 As Object, Optional varDelSuggSignerEmail As Object)
Parameters
- varSigImg
- Object
The signature line graphic image.
- varDelSuggSigner
- Object
The suggested signer.
- varDelSuggSignerLine2
- Object
The additional signature line.
- varDelSuggSignerEmail
- Object
The e-mail address of the suggested signer.
Remarks
When the Sign method is called, Microsoft Office creates a manifest and calls the signature provider to create a hash for each stream in the document. Office then bundles up the results into an unsigned XMLDSIG template and calls to the provider to modify the XMLDSIG (if necessary) and then sign it. The resulting signed signature is then handed back to Office to be stored.