SignatureProvider.ShowSignatureDetails method (Office)
Provides a signature provider add-in the opportunity to display details about a signed signature line and display additional stored information such as a secure time-stamp.
Syntax
expression.ShowSignatureDetails(ParentWindow, psigsetup, psiginfo, XmlDsigStream, pcontverres, pcertverres)
expression An expression that returns a SignatureProvider object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
ParentWindow | Required | IOleWindow | Contains the handle to the window containing the signature details. |
psigsetup | Required | SignatureSetup | Specifies initial settings of the signature provider. |
psiginfo | Required | SignatureInfo | Specifies information about the signed signature line. |
XmlDsigStream | Required | IStream | Represents a stream of data or binary large object of XML. |
pcontverres | Required | ContentVerificationResults | Contains a value representing the results of verifying the signature content. |
pcertverres | Required | CertificateVerificationResults | Contains a value representing the results of verifying the signing certification. |
Example
The following example, written in C#, shows the implementation of the ShowSignatureDetails method in a custom signature provider project.
public void ShowSignatureDetails(object parentWindow, SignatureSetup sigsetup, SignatureInfo siginfo, object xmldsigStream, ref ContentVerificationResults contverresults, ref CertificateVerificationResults certverresults)
{
using (Win32WindowFromOleWindow window = new Win32WindowFromOleWindow(parentWindow))
{
using (SigningCeremonyForm signForm = new SigningCeremonyForm(sigsetup, siginfo))
{
signForm.ShowDialog(window);
}
}
}
Note
Signature providers are implemented exclusively in custom COM add-ins and cannot be implemented in Microsoft Visual Basic for Applications (VBA).
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for