Share via


SignatureInfo.ShowSignatureCertificate Method (Office)

Displays the selected or default digital certificate.

Syntax

expression .ShowSignatureCertificate(ParentWindow)

expression An expression that returns a SignatureInfo object.

Parameters

Name

Required/Optional

Data Type

Description

ParentWindow

Required

IOleWindow

Contains the handle to the window that contains the Certificate dialog box.

Example

The following example displays a digital certificate in the window specified by the Hwnd argument.

Sub DisplayCertificate(ByVal intHwnd As Long) 
Dim objSignatureInfo As SignatureInfo 
Dim objDialog As Object 
 
objDialog = objSignatureInfo.ShowSignatureCertificate(intHwnd) 
 
End Sub

See Also

Concepts

SignatureInfo Object

SignatureInfo Object Members