Edit

Share via


SignatureProvider.VerifyXmlDsig Method

Definition

Verifies a signature based on the signed state of the document and the legitimacy of the certificate used for signing.

public:
 void VerifyXmlDsig(System::Object ^ QueryContinue, Microsoft::Office::Core::SignatureSetup ^ psigsetup, Microsoft::Office::Core::SignatureInfo ^ psiginfo, System::Object ^ XmlDsigStream, [Runtime::InteropServices::Out] Microsoft::Office::Core::ContentVerificationResults % pcontverres, [Runtime::InteropServices::Out] Microsoft::Office::Core::CertificateVerificationResults % pcertverres);
public void VerifyXmlDsig (object QueryContinue, Microsoft.Office.Core.SignatureSetup psigsetup, Microsoft.Office.Core.SignatureInfo psiginfo, object XmlDsigStream, out Microsoft.Office.Core.ContentVerificationResults pcontverres, out Microsoft.Office.Core.CertificateVerificationResults pcertverres);
abstract member VerifyXmlDsig : obj * Microsoft.Office.Core.SignatureSetup * Microsoft.Office.Core.SignatureInfo * obj * ContentVerificationResults * CertificateVerificationResults -> unit
Public Sub VerifyXmlDsig (QueryContinue As Object, psigsetup As SignatureSetup, psiginfo As SignatureInfo, XmlDsigStream As Object, ByRef pcontverres As ContentVerificationResults, ByRef pcertverres As CertificateVerificationResults)

Parameters

QueryContinue
Object

Provides a way to query the host application for permission to continue the verification operation.

psigsetup
SignatureSetup

Specifies configuration information about a signature line.

psiginfo
SignatureInfo

Specifies information captured from the signing ceremony.

XmlDsigStream
Object

Represents a steam of data containing XML, which represents an XMLDSIG object.

pcontverres
ContentVerificationResults

Specifies the status of the signature verification action.

pcertverres
CertificateVerificationResults

Specifies the status of the signing certificate verification.

Remarks

XMLDSIG is a standards-based signature format (http://www.w3.org/TR/xmldsig-core/

Applies to