Signature Object
Office Developer Reference |
Represents a digital signature attached to a document. Signature objects are contained in the SignatureSet collection of the Document object.
Remarks
You can add a Signature object to a SignatureSet collection using the Add method and you can return an existing member using the Item method. To remove a Signature from a SignatureSet collection, use the Delete method of the Signature object.
Example
The following example prompts the user to select a digital signature with which to sign the active document in Microsoft Office Word. To use this example, open a document in Word and pass this function the name of a certificate issuer and the name of a certificate signer that match the Issued By and Issued To fields of a digital certificate in the Digital Certificates dialog box. This example will test to make sure that the digital signature that the user selects meets certain criteria, such as not having expired, before the new signature is committed to the disk.
Visual Basic for Applications |
---|
|
See Also