CryptoSys PKI Toolkit Manual

Cms.VerifySigData Method (String, String, String, Boolean)

Verifies the signature and content of a signed-data CMS object file (advanced options)

Syntax

[C#]
public static int VerifySigData(
	string inputFile,
	string certFile,
	string hexDigest,
	bool inputIsBase64
)
[VB.NET]
Public Shared Function VerifySigData ( _
	inputFile As String, _
	certFile As String, _
	hexDigest As String, _
	inputIsBase64 As Boolean _
) As Integer

Parameters

inputFile
file containing CMS signed-data object
certFile
an (optional) X.509 certificate file of the signer
hexDigest
(optional) digest of eContent to be verified (use for "detached-signature" form)
inputIsBase64
[OBSOLETE: this parameter is ignored]

Return Value

Zero if successfully verified; otherwise it returns a non-zero error code

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: CMS_VerifySigData

[Contents] [Index]

[HOME]   [NEXT: Cnv.Base64Filter Method...]

Copyright © 2004-14 D.I. Management Services Pty Ltd. All rights reserved.