Cms.VerifySigData Method
Verify the signature and content of a signed-data CMS object file.
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, otherwise ignored
Return Value
Zero if successfully verified; otherwise it returns a non-zero
error code
See Also
VB6/C equivalent: CMS_VerifySigData
[Contents] [Index]