Verifies the signature and content of a signed-data CMS object file.
[Visual Basic] Public Shared Function VerifySigData( _ ByVal inputFile As String, _ ByVal certFile As String, _ ByVal hexDigest As String, _ ByVal inputIsBase64 As Boolean _ ) As Integer
[C#] public static int VerifySigData( stringinputFile, stringcertFile, stringhexDigest, boolinputIsBase64 );
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
inputIsBase64
true if input is in base64 encoding; false for binary BER-encoded
Return Value
Zero if successfully verified; otherwise it returns an error code