CryptoSys PKI Pro Manual

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

Verify 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,
	Cms.SigDataOptions advOptions
)
[VB.NET]
Public Shared Function VerifySigData ( _
	inputFile As String, _
	certFile As String, _
	hexDigest As String, _
	advOptions As Cms.SigDataOptions _
) 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)
advOptions
Type: Cms.SigDataOptions
Use for BigFile option

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]

[PREV: Cms.VerifySigData Method (String, String)...]   [Contents]   [Index]   
   [NEXT: Cnv.Base64Filter Method...]

Copyright © 2004-21 D.I. Management Services Pty Ltd. All rights reserved. Generated 2021-10-01T09:03:20Z.