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.ObjectThe signature line graphic image.
varDelSuggSigner
Type: System.ObjectThe suggested signer.
varDelSuggSignerLine2
Type: System.ObjectThe additional signature line.
varDelSuggSignerEmail
Type: System.ObjectThe 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.