SignatureProvider.VerifyXmlDsig 方法

定义

基于文档的签署状态和用于签名的证书的合法性来验证签名。

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)

参数

QueryContinue
Object

提供了一种方式,可查询主机应用程序以获得继续进行验证操作的许可。

psigsetup
SignatureSetup

指定有关签名行的配置信息。

psiginfo
SignatureInfo

指定从签署仪式中捕获的信息。

XmlDsigStream
Object

代表一个包含 XML 的数据流,该数据流又代表一个 XMLDSIG 对象。

pcontverres
ContentVerificationResults

指定签名验证操作的状态。

pcertverres
CertificateVerificationResults

指定签名证书验证的状态。

注解

XMLDSIG 是基于标准的签名格式 (http://www.w3.org/TR/xmldsig-core/

适用于