Share via


Signature.Sign Method

Creates a signature packet.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub Sign ( _
    varSigImg As Object, _
    varDelSuggSigner As Object, _
    varDelSuggSignerLine2 As Object, _
    varDelSuggSignerEmail As Object _
)
'Usage
Dim instance As Signature
Dim varSigImg As Object
Dim varDelSuggSigner As Object
Dim varDelSuggSignerLine2 As Object
Dim varDelSuggSignerEmail As Object

instance.Sign(varSigImg, varDelSuggSigner, _
    varDelSuggSignerLine2, varDelSuggSignerEmail)
void Sign(
    Object varSigImg,
    Object varDelSuggSigner,
    Object varDelSuggSignerLine2,
    Object varDelSuggSignerEmail
)

Parameters

  • varSigImg
    Type: System.Object

    The signature line graphic image.

  • varDelSuggSignerLine2
    Type: System.Object

    The additional signature line.

  • varDelSuggSignerEmail
    Type: System.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.

See Also

Reference

Signature Interface

Signature Members

Microsoft.Office.Core Namespace